Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getElementPosition

System object: phased.ULA
Package: phased

Positions of array elements

Syntax

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

Description

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.

Examples

expand all

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?