sub.m

来自「alamouti 空频分组码---在时变信道下SFBC-OFDM」· M 代码 · 共 28 行

M
28
字号
% subplot the performance of conventional and improved algorithm
% JML
subplot(2,2,1),semilogy(SNR_sim, BER_JML, 'bs', SNR_sim, BER_JML_new, 'r>', SNR_Curve, T_BER_OFDM, 'k-.', SNR_Curve, T_BER_JML, 'b', SNR_Curve, T_BER_JML_new, 'r');
xlabel('Eb/N0');ylabel('BER');
%legend('Con. JML','Imp. JML','1Tx+1Rx');
title('Joint Maximum-Likelihood Detection');
grid on;

% SML
subplot(2,2,2),semilogy(SNR_sim, BER_SML, 'bs', SNR_sim, BER_SML_new, 'r>', SNR_Curve, T_BER_OFDM, 'k-.', SNR_Curve, T_BER_SML, 'b', SNR_Curve, T_BER_SML_new, 'r');
xlabel('Eb/N0');ylabel('BER');
%legend('Con. SML','Imp. SML','1Tx+1Rx');
title('Simple Maximum-Likelihood Detection');
grid on;

% ZF
subplot(2,2,3),semilogy(SNR_sim, BER_ZF, 'bs', SNR_sim, BER_ZF_new, 'r>', SNR_Curve, T_BER_OFDM, 'k-.', SNR_Curve, T_BER_ZF, 'b', SNR_Curve, T_BER_ZF_new, 'r');
xlabel('Eb/N0');ylabel('BER');
legend('Con. Detec.','Imp. Detec.','1Tx+1Rx');
title('Zero Force Detection');
grid on;

% DF
subplot(2,2,4),semilogy(SNR_sim, BER_DF, 'bs', SNR_sim, BER_DF_new, 'r>', SNR_Curve, T_BER_OFDM, 'k-.', SNR_Curve, T_BER_DF, 'b', SNR_Curve, T_BER_DF_new, 'r');
xlabel('Eb/N0');ylabel('BER');
%legend('Con. DF','Imp. DF','1Tx+1Rx');
title('Decision Feed-back Detection');
grid on;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?