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

    %% View UCA Array
% Construct an 7-element UCA of isotropic antenna elements with a Taylor
% window taper. Design the array to have a radius of 0.5 meters. Then, draw
% the array showing the element normals, element indices, and 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,'ShowNormals',true,'ShowIndex','All','ShowTaper',true);