www.gusucode.com > phased 案例源码 matlab代码程序 > phased/ReducedElevationPatternCrossedDipoleAntennaElementExample.m

    %% Reduced Elevation Pattern of Crossed-Dipole Antenna Element
% Plot an elevation cut of directivity of a crossed dipole antenna element at 45 and
% 55 degrees azimuth. Assume the operating frequency is 500 MHz.

% Copyright 2015 The MathWorks, Inc.


%%
% Create the antenna element
fc = 500e6;
sCD = phased.CrossedDipoleAntennaElement('FrequencyRange',[100,900]*1e6);
patternElevation(sCD,fc,[45 55]) 
%%
% Plot a reduced range of elevation angles using the |Elevation|
% parameter. Notice the change in scale.
patternElevation(sCD,fc,[45 55],'Elevation',[-20:20])