Main Content

getElementPosition

System object: phased.ConformalArray
Namespace: phased

Positions of array elements

Syntax

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

Description

POS = getElementPosition(H) returns the element positions of the conformal array H. POS is an 3xN 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].

For details regarding the local coordinate system of the conformal array, enter phased.ConformalArray.coordinateSystemInfo.

POS = getElementPosition(H,ELEIDX) returns the positions of the elements that are specified in the element index vector ELEIDX.

Examples

expand all

Construct a three-element conformal array and obtain the element positions.

array = phased.ConformalArray('ElementPosition',[-1,0,1;0,0,0;0,0,0]);
pos = getElementPosition(array)
pos = 3×3

    -1     0     1
     0     0     0
     0     0     0