全文预览

AMI与HDB3码波形与功率谱密度实验

上传者:叶子黄了 |  格式:doc  |  页数:13 |  大小:169KB

文档介绍
Z]=T2F(t,nrz_code(1:length(t)));[f,dNRZ]=T2F(t,dnrz_code(1:length(t)));[f,AMI_N]=T2F(t,ami_code_n(1:length(t)));[f,HDB3_N]=T2F(t,hdb3_code_n(1:length(t))); Sum_RZ=Sum_RZ+10*log10(abs(RZ).^2/T); Sum_dRZ=Sum_dRZ+10*log10(abs(dRZ).^2/T); Sum_AMI=Sum_AMI+10*log10(abs(AMI).^2/T); Sum_HDB3=Sum_HDB3+10*log10(abs(HDB3).^2/T); Sum_NRZ=Sum_NRZ+10*log10(abs(NRZ).^2/T); Sum_dNRZ=Sum_dNRZ+10*log10(abs(dNRZ).^2/T); Sum_AMI_N=Sum_AMI_N+10*log10(abs(AMI_N).^2/T); Sum_HDB3_N=Sum_HDB3_N+10*log10(abs(HDB3_N).^2/T);endPRZ=Sum_RZ/Again;PdRZ=Sum_dRZ/Again;PAMI=Sum_AMI/Again;PHDB3=Sum_HDB3/Again;PNRZ=Sum_NRZ/Again;PdNRZ=Sum_dNRZ/Again;PAMI_N=Sum_AMI_N/Again;PHDB3_N=Sum_HDB3_N/Again;figure(1);subplot(2,2,1);plot(t,rz_code);xlabel('时间');ylabel('幅值');title('单极性RZ码波形');axis([030-22]);subplot(2,2,2);plot(t,nrz_code);

收藏

分享

举报
下载此文档