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

    %% Show UCA Element Tapers
% Construct a 7-element UCA array of isotropic antenna alements with a Taylor
% window taper. Design the array to have a radius of 0.5 meters. Then, draw
% the array showing the element taper shading.

% Copyright 2015 The MathWorks, Inc.

Nelem = 7;
R = 0.5;
taper = taylorwin(Nelem);
sArray = phased.UCA(Nelem,R,'Taper',taper.');
w = getTaper(sArray)
viewArray(sArray,'ShowTaper',true);
%%
% Both the output and figure above shows that the taper magnitudes are largest near the
% middle element.