BER is showing zero

조회 수: 6 (최근 30일)
RUHIN CHOWDHURY
RUHIN CHOWDHURY 2020년 4월 3일
댓글: RUHIN CHOWDHURY 2020년 4월 20일
%% 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
  댓글 수: 1
RUHIN CHOWDHURY
RUHIN CHOWDHURY 2020년 4월 20일
Thank you so much.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 QAM에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by