Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear all
- close all
- clc
- % Antennas
- isot = phased.IsotropicAntennaElement;
- array = phased.URA;
- array.Element = isot;
- array.Size = [8 8];
- freq = 300e6;
- % Plots
- figure('Name', '3D Radiation Pattern');
- pattern(array, freq);
- figure('Name', '2D Azimuth Pattern (Elevation = 0, z = 0, Plane xy)');
- patternAzimuth(array, freq);
- figure('Name', '2D Elevation Pattern (Azimuth = 0, y = 0, Plane xz)');
- patternElevation(array, freq);
- figure('Name', 'Array Factor');
- c = physconst('LightSpeed');
- AZ = -180:180;
- EL = 0;
- pattern(array, freq, AZ, EL, 'PropagationSpeed', c,...
- 'CoordinateSystem','rectangular', 'Type','powerdb','Normalize',true);
- max_directivity = max(directivity(array, freq, AZ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement