Advertisement
stiansjogren

ov2

Sep 25th, 2016
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.88 KB | None | 0 0
  1. % Oving 2, Problem 2.24
  2. close all
  3. f = 9400e6;
  4.  
  5. % Antenna properties:
  6.  
  7. verticalBeamWith = .8; % degrees
  8. gain_dB             = 33; % dB
  9. gain = 10^(gain_dB/10);
  10.  
  11.  
  12.  
  13.  
  14. azimuth_rotation_rate = 20; %rpm
  15.  
  16. Pt   = 25e3;
  17. ppr  = 4000;
  18. R_nf = 5; %dB
  19. R_BW = 15e6; %Hz
  20. system_loss = 12; %dB
  21. T_fa = 4*60*60; %seconds
  22. P_fa = 1/(T_fa*R_BW);
  23. sigma = 10;
  24. n=26;
  25. Ae = 1;
  26. fn = 1;
  27. SNR_req = zeros(1,numel(1e5:1e4:1e6));
  28.  
  29.  
  30.  
  31. % Calculate reqired SNR for different ranges
  32. for range = 1e5:1e4:1e6
  33.     SNR_req(range) = (Pt*gain*Ae*sigma)/((4*pi)^2 * 290* 1.3e-23*fn*range^4);
  34. end
  35.  
  36. %plot(1:1000, SNR_req);
  37.  
  38.  
  39.  
  40.  
  41.    
  42.  
  43.  
  44.  
  45.  
  46.  
  47. cross_section_target = 10; %m**2
  48.  
  49. Pd = 0.3:0.1:0.99;
  50. SNR_dB = zeros(1,numel(Pd));
  51. for i = 1:numel(Pd)
  52.     SNR_dB(i) = calcSNR(Pd(i),P_fa,n);
  53. end
  54.  
  55. for i=1:numel(Pd)
  56.     SNR(i) = 10^(SNR_dB(i)/10);
  57. end
  58.  
  59.    
  60.  
  61. plot(10*log10(SNR_req));
  62. grid on;
  63. hold on;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement