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

    %% View Uniform Circular Array
% Display the element positions and normal directions of all
% elements of an 8-element uniform circular array.

% Copyright 2015 The MathWorks, Inc.


%% Create the uniform circular array
N = 8;
azang = (0:N-1)*360/N - 180;
ha = phased.ConformalArray(...
    'ElementPosition',[cosd(azang);sind(azang);zeros(1,N)],...
    'ElementNormal',[azang;zeros(1,N)]);

%% Display the positions and normal directions of the elements
viewArray(ha,'ShowNormals',true);