Advertisement
makispaiktis

Free Space Losses

Nov 18th, 2021 (edited)
1,766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.26 KB | None | 0 0
  1. clear all
  2. clc
  3.  
  4. % MAIN FUNCTION
  5. Fc = 626 * 10^6;
  6. d_km = 10;
  7. losses = calculate(d_km, Fc);
  8.  
  9. % Data
  10. function losses = calculate(d_km, Fc)
  11.     c = 3 * 10^8;
  12.     lamda = c / Fc;
  13.     margin = 5;
  14.     losses = 122 + 20*log10(d_km) - 20*log10(lamda*100)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement