?? bers_dscdma.m
字號(hào):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Show the BER of BPSK, QPSK, 16-QAM over AWGN channel
%
% Liang, Siwen
% 13/02/06
clear;
figure (1);
clf;
DSCDMA_cor;
color=['b*-';'g*-';'r*-';'c*-';'m*-';'y*-';'k*-'];
%h(1)=semilogy(SNRdB,BER_BPSK(1,:),'b*');hold on;
for i=1:7;
h(i)=semilogy(SNRdB,BER_BPSK(i,:),color(i,:));hold on;
end
h12=plot(SNRdB,Q_BPSK,'b--');
axis([0 30 10^(-6) 1]);
grid on;
%legend([h11;h12;h21;h22;h31;h32],'BPSK simulation','BPSK theory','QPSK simulation','QPSK theory','16QAM simulation','16QAM theory');
title('BER of DS-CDMA BPSK AWGN');
xlabel('SNR (dB)');
ylabel('BER ');
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -