BER is showing zero

5 次查看(过去 30 天)
RUHIN CHOWDHURY
RUHIN CHOWDHURY 2020-4-3
%% 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?

回答(1 个)

Sriram Tadavarty
Sriram Tadavarty 2020-4-4
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

类别

Help CenterFile Exchange 中查找有关 PHY Components 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by