System object: phased.ULA
Package: phased

Positions of array elements


pos = getElementPosition(sULA)
pos = getElementPosition(sULA,elemidx)


pos = getElementPosition(sULA) returns the element positions of the phased.ULA System object™, sULA. pos is a 3-by-N matrix, where N is the number of elements in sULA. Each column of pos defines the position of an element in the local coordinate system taking the form[x;y;z]. Units are meters. The origin of the local coordinate system is the phase center of the array.

pos = getElementPosition(sULA,elemidx) returns only the positions of the elements that are specified in the element index vector elemidx. This syntax can use any of the input arguments in the previous syntax.


expand all

ULA Element Positions

Construct a ULA with 5 elements along the z-axis. Obtain the element positions.

sULA = phased.ULA('NumElements',5,'ArrayAxis','z');
pos = getElementPosition(sULA)
pos =

         0         0         0         0         0
         0         0         0         0         0
   -1.0000   -0.5000         0    0.5000    1.0000

Was this topic helpful?