www.gusucode.com > phased 案例源码 matlab代码程序 > phased/AzimuthCutCrossedDipoleAntennaPatternExample.m
%% Azimuth-Cut of Crossed-Dipole Antenna Pattern % Construct a crossed-dipole antenna element. % Then, plot the pattern of the horizontal component of the field % magnitude. Assume the antenna operating frequency is 1 GHz. Restrict the % response to the range of azimuth angles from -70 to 70 degrees in 0.1 % degree increments. Set the elevation angle to 0 degrees. % Copyright 2015 The MathWorks, Inc. sCD = phased.CrossedDipoleAntennaElement('FrequencyRange',[0.5 1.5]*1e9); fc = 1e9; pattern(sCD,fc,[-70:0.1:70],0,... 'Type','efield',... 'CoordinateSystem','polar',... 'Polarization','combined')