BER is showing zero
4 ビュー (過去 30 日間)
古いコメントを表示
%% 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?
0 件のコメント
回答 (1 件)
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 Center および File Exchange で QAM についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!