System object: phased.HeterogeneousULA
Package: phased

Positions of array elements


POS = getElementPosition(H)
POS = getElementPosition(H,ELEIDX)


POS = getElementPosition(H) returns the element positions of the HeterogeneousULA System object™, H. POS is a 3-by-N matrix, where N is the number of elements in H. Each column of POS defines the position of an element in the local coordinate system, in meters, using the form [x; y; z]. The origin of the local coordinate system is the phase center of the array. The positive x-axis is the direction normal to the array, and the elements of the array are located along the y-axis.

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


Construct a 4–element heterogeneous ULA, and obtain the element positions.

sElement1 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
sElement2 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
sArray = phased.HeterogeneousULA(...
    'ElementIndices',[1 2 2 1]);
pos = getElementPosition(sArray);
pos =

         0         0         0         0
   -0.7500   -0.2500    0.2500    0.7500
         0         0         0         0
Was this topic helpful?