Advertisement
makispaiktis

Phased Arrays - ULA (phased_ULA_isotropics.m)

Jan 6th, 2023 (edited)
1,129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.65 KB | None | 0 0
  1. clear all
  2. close all
  3. clc
  4.  
  5. % Antennas
  6. isot = phased.IsotropicAntennaElement;
  7. array = phased.ULA;
  8. array.Element = isot;
  9. array.NumElements = 8;
  10. freq = 300e6;
  11.  
  12. % Plots
  13. figure('Name', '3D Radiation Pattern');
  14. pattern(array, freq);
  15. figure('Name', '2D Azimuth Pattern (Elevation = 0, z = 0, Plane xy)');
  16. patternAzimuth(array, freq);
  17. figure('Name', '2D Elevation Pattern (Azimuth = 0, y = 0, Plane xz)');
  18. patternElevation(array, freq);
  19.  
  20. figure('Name', 'Array Factor');
  21. c = physconst('LightSpeed');
  22. AZ = -180:180;
  23. EL = 0;
  24. pattern(array, freq, AZ, EL, 'PropagationSpeed', c,...
  25. 'CoordinateSystem','rectangular', 'Type','powerdb','Normalize',true);
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement