Documentation

This is machine translation

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

enu2aer

Local Cartesian ENU to local spherical AER

Syntax

  • [az,elev,slantRange] = enu2aer(xEast,yNorth,zUp)
  • [___] = enu2aer(___,angleUnit)

Description

[az,elev,slantRange] = enu2aer(xEast,yNorth,zUp) returns coordinates in a local spherical system corresponding to coordinates xEast, yNorth, zUp in a local east-north-up (ENU) Cartesian system having the same local origin. Any of the three numerical input arguments can be scalar, even when the others are nonscalar; but all nonscalar numeric arguments must match in size.

[___] = enu2aer(___,angleUnit) adds angleUnit which specifies the units outputs az, elev.

Input Arguments

collapse all

x-coordinates of one or more points in the local ENU system, specified as a scalar value, vector, matrix, or N-D array.

Data Types: single | double

y-coordinates of one or more points in the local ENU system, specified as a scalar value, vector, matrix, or N-D array.

Data Types: single | double

z-coordinates of one or more points in the local ENU system, specified as a scalar value, vector, matrix, or N-D array.

Data Types: single | double

Units of angles, specified as ‘degrees' (default), or 'radians'.

Data Types: char

Output Arguments

collapse all

Azimuth angles in the local spherical system, returned as a scalar value, vector, matrix, or N-D array. Azimuths are measured clockwise from north. Units are determined by the input argument angleUnit, if supplied; values are in degrees, otherwise. When in degrees, they lie in the half-open interval [0 360).

Elevation angles in the local spherical system, returned as a scalar value, vector, matrix, or N-D array. Elevations are with respect to a plane perpendicular to the spheroid surface normal. Units determined by the input argument angleUnit, if supplied; values are in degrees, otherwise. When in degrees, they lie in the closed interval [-90 90].

Distances from origin in the local spherical system, returned as a scalar, vector, matrix, or N-D array. The straight-line, 3-D Cartesian distance is computed.

See Also

|

Introduced in R2012b

Was this topic helpful?