www.gusucode.com > phased 案例源码 matlab代码程序 > phased/PositionsUCAELementsExample.m
%% Positions of UCA ELements % Construct a 7-element UCA with a radius of 0.5 meters, and obtain the % positions of the middle three elements. % Copyright 2015 The MathWorks, Inc. sArray = phased.UCA('NumElements',7,'Radius',0.5); pos = getElementPosition(sArray,[3,4,5]) %% % The output verifies that the position of the middle element of an array % with an odd number of elements lies on the x-axis.