Contenido principal

phased.URA.getElementPosition

Positions of array elements

Description

POS = getElementPosition(array) returns the element positions of the URA H. POS is a 3-by-N matrix where N is the number of elements in array. 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 URA, enter phased.URA.coordinateSystemInfo.

example

POS = getElementPosition(array,ELEIDX) returns the positions of the elements that are specified in the element index vector, ELEIDX. The index of a URA runs down each column, then to the next column to the right. For example, in a URA with 4 elements in each row and 3 elements in each column, the element in the third row and second column has an index value of 6.

Examples

collapse all

Construct a default URA with a rectangular lattice, and obtain the element positions.

array = phased.URA;
pos = getElementPosition(array)
pos = 3×4

         0         0         0         0
   -0.2500   -0.2500    0.2500    0.2500
    0.2500   -0.2500    0.2500   -0.2500

Input Arguments

collapse all

URA object.

Data Types: single | double
Complex Number Support: Yes

Element index vector.

Data Types: single | double
Complex Number Support: Yes

Version History

Introduced in R2011a