ber(j,i) = (s/N)/log2(M); % Bit error rate (BER) with Gray mapping snr(i) = esno; i=i+1; end
semilogy(snr,ber(2,:),'-bo'); grid on; ylabel('BER'); xlabel('E/N_0 (dB)');
legend('16-QAM', '16-QAM', '64-QAM',1); title('16QAM抗噪声性能');
二、Matlab-simulink仿真器件名称
Random Integer Generator 随机整数产生器
Rectangular QAM Modulator Baseband 矩形QAM调制器基带 Awgn Channel AWGN信道
Rectangular QAM Demodulator Baseband 矩形QAM解调基带 Error Rate Calculation 错误率的计算
Discrete-Time Scatter Plot Scope 离散时间的散点图的范围 Display 显示器 Scope 作用域
Matlab及Simulink的QAM调制解调仿真
ber(j,i)=(s/N)/log2(M);%Biterrorrate(BER)withGraymappingsnr(i)=esno;i=i+1;endsemilogy(snr,ber(2,:),'-bo');gridon;ylabel('BER');
推荐度:
点击下载文档文档为doc格式