Bit Error Rate (BER) and Outage Probability (Pout) Vs Received Power

1 view (last 30 days)
Hi Everyone;
The results shown in the attached figures are wrong, where the results seems inversely. Are there anyone can help me to diagnose this problem.
The code for simulated BER:
for ii=1:length(EbN0)
Sig_out=awgn(PPM,EsN0(ii),'measured'); %Output Signal From The Transmitter
Rx_PPM_th=zeros(1,L);
Rx_PPM_th(Sig_out>0.5)=1;
[nerr(ii), ber(ii)]= biterr(Rx_PPM_th,PPM); %Simulated Bit Error Rate
end
The code for theoritical BER:
Psle_ppm=qfunc(sqrt(EsN0/2)); %Probability of Slot Error
Psye_ppm=1-(1-Psle_ppm).^L; %Probability of Symbole Error
Pbe_ppm=((L/2)./(L-1))*Psye_ppm; %Probability of Bit Error

Answers (0)

Categories

Find more on Measurements and Feature Extraction in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!