www.gusucode.com > phased 案例源码 matlab代码程序 > phased/PlotShortDipoleAntennaElementResponseSelectedRangeExample.m
%% Plot Short-Dipole Antenna Element Response Over Selected Range % This example shows how to construct a short-dipole antenna element with its dipole axis % pointing along the z-axis and how to plot the response over a % selected range of angles. The antenna operating frequency spans % the range 100 to 900 MHz. %% % To construct a z-directed short-dipole antenna, set the |'AxisDirection'| % value to |'Z'|. % Copyright 2015 The MathWorks, Inc. sSD = phased.ShortDipoleAntennaElement(... 'FrequencyRange',[100 900]*1e6,'AxisDirection','Z'); %% % Plot the antenna's vertical polarization % response at 200 MHz as an elevation cut at a fixed azimuth angle. Use % the 'ElevationAngles' property to restrict the plot from % -60 to 60 degrees elevation in 0.1 degree increments. plotResponse(sSD,200e6,'Format','Polar',... 'RespCut','El','Polarization','V',... 'ElevationAngles',[-60:0.1:60],'Unit','mag');