基于matlab 16QAM调制系统的仿真中信号平滑问题
求助:各位大侠,麻烦你们帮我看一下这段代码,跟我解释一下这些代码是怎么回事,毕业设计急需,不胜感激!在此先谢过了!% 对上下支路信号进行平滑pd_NRZ11=d_NRZ11(1:Lt); %d_NRZ11为2-4电平转换的上支路信号pd_NRZ22=d_NRZ22(1:Lt); %d_NRZ22为2-4电平转换的下支路信号tao=3/16;tm=0:dt:8*Ts*tao-dt; %Ts=1
for w=2:N/4
phxh1=d11(w-1)+(d11(w)-d11(w-1))*0.5*(1+sin(pi*tm/8*tao*Ts));
phxh2=d22(w-1)+(d22(w)-d22(w-1))*0.5*(1+sin(pi*tm/8*tao*Ts));
for k=1:8*tao*fc*N_sample %fc*N_sample=2*8=16
pd_NRZ11((w-1)*64+k)=phxh1(k);
pd_NRZ22((w-1)*64+k)=phxh2(k);
endend
页:
[1]