Demo entry 6770450

FSL

   

Submitted by anonymous on Nov 13, 2018 at 14:34
Language: Matlab. Code size: 376 Bytes.

%% Free Space Loss (FSL)

FSL = 4*pi*d0*f/c;                           
FSL_dB = pow2db(FSL.^2)


%% SNR

P_dB = pow2db(P/K*1e3);          % dBm, transmitted power per beam     
RxPower_dB = P_dB + GR + GT - FSL_dB;
RxPower = db2pow(RxPower_dB);
Noise_dB = pow2db(kB*T*Bw*1e3)   % dBm, thermal noise power
SNR_db = RxPower_dB - Noise_dB   % dB, SNR at the receiver

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).