www.gusucode.com > phased 案例源码 matlab代码程序 > phased/PlotAzimuthPatternUCAExample.m
%% Plot Azimuth Pattern of UCA % Create a 6-element UCA of short-dipole antenna elements. Design the array % to have a radius of 0.5 meters. Plot an azimuth cut of directivity at 0 and % 10 degrees elevation. Assume the operating frequency is 500 MHz. % Copyright 2015 The MathWorks, Inc. fc = 500e6; sCDant = phased.ShortDipoleAntennaElement('FrequencyRange',[100,900]*1e6); sUCA = phased.UCA('NumElements',6,'Radius',0.5,'Element',sCDant); patternAzimuth(sUCA,fc,[0 30]) %% % You can plot a smaller range of azimuth angles by setting the |Azimuth| % property. patternAzimuth(sUCA,fc,[0 30],'Azimuth',[-90:90])