Main Content

getElementNormal

Normal vectors for array elements

    Description

    normvec = getElementNormal(array) returns the element normals of the System object™, array. normv is a 2-by-N matrix, where N is the number of elements in array. Each column of normv specifies the normal direction of the corresponding element in the local coordinate system in the form [azimuth;elevation]. Units are degrees. For details regarding the local coordinate system of a UCA, type phased.ConformalArray.coordinateSystemInfo at the command line.

    normvec = getElementNormal(array,elemidx) returns only the normals of the elements that are specified in the element index vector elemidx.

    Input Arguments

    collapse all

    Phased array, specified as a System object.

    Element index vector, specified as a vector of positive integers each of which takes a value from 1 to N. The dimension N is the number of elements of the array.

    Example: [1,2,3]

    Output Arguments

    collapse all

    Normal vector of array elements, returned as a 2-by-M real matrix. Each column of normvec specifies the normal direction of the corresponding element in the local coordinate system in the form [azimuth;elevation]. If the input argument elemidx is not specified, M is the number of elements of the array, N. If elemidx is specified, M is the dimension of elemidx. Units are in degrees.

    Introduced in R2021a