BER is showing zero

6 visualizaciones (últimos 30 días)
RUHIN CHOWDHURY
RUHIN CHOWDHURY el 3 de Abr. de 2020
Comentada: RUHIN CHOWDHURY el 20 de Abr. de 2020
%% Parameters & Functions
Rb=10e9; % Data Rate
B=2e10 ;% Bandwidth
Lam=1550e-9; % Wavelength
Rd=0.85; %Responsivity
Plo=3e-3; %local oscillator power
Cs=1e-14; % Refractive Index Para for strong
e=1.6023e-19; % charge of electron
K=1.38e-23;
Rl=50; % Load Resistance
T=300; % Temperature
Pt=4e-3; % transmitter power
Pr=4e-3; % receiver power
IdB=linspace(0,75,100);
I=10.^(IdB/10);
SNR= @(I) (((2*Rd*sqrt(4*Pr*Plo.*I)).^2)./(2*B*e*((Rd*Pr.*I)+(Rd*Plo))))+ (4*K*T*B/Rl);
SNRdB= @(I) 10*log10(SNR(I));
BER= @(I) (0.5*erfc(sqrt(SNR(I)/2)/2));
R= BER(I)
I am getting all zeros for BER. What should I do?

Respuestas (1)

Sriram Tadavarty
Sriram Tadavarty el 4 de Abr. de 2020
Hi Ruhin,
You get zero BER due to very high SNR in the range of 65 to 68 dB.
Try to modify the IdB to a very low value, to reduce the SNR and to oberve the BER. Something like the modification shown below:
IdB=linspace(-100,75,100);
Hope this helps.
Regards,
Sriram
  1 comentario
RUHIN CHOWDHURY
RUHIN CHOWDHURY el 20 de Abr. de 2020
Thank you so much.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by