Documentation Center

  • Trial Software
  • Product Updates

getElementPosition

System object: phased.HeterogeneousULA
Package: phased

Positions of array elements

Syntax

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

Description

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.

Examples

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

sElement1 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
    'AxisDirection','Z');
sElement2 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
    'AxisDirection','Y');
sArray = phased.HeterogeneousULA(...
    'ElementSet',{sElement1,sElement2},...
    '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?