www.gusucode.com > phased 案例源码 matlab代码程序 > phased/ElevationCutIsotropicAntennaPatternExample.m
%% Elevation-Cut of Isotropic Antenna Pattern % Construct an isotropic antenna operating in the frequency range from 800 % MHz to 1.2 GHz. Compute the response at boresight at 1 GHz. Display the % power pattern of the antenna at 1 GHz. % Copyright 2015 The MathWorks, Inc. sIso = phased.IsotropicAntennaElement(... 'FrequencyRange',[800e6 1.2e9]); fc = 1e9; resp = step(sIso,fc,[0;0]) %% % Plot the elevation power pattern of the antenna in polar coordinates. pattern(sIso,fc,0,[-90:90],... 'Type','powerdb',... 'CoordinateSystem','polar')