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

1 Ansicht (letzte 30 Tage)
A.J.M
A.J.M am 9 Sep. 2020
Bearbeitet: A.J.M am 10 Sep. 2020
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

Antworten (0)

Kategorien

Mehr zu Measurements and Feature Extraction finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by