Convert Azimuth, Elevation and Range (AER) coordinates to North, East, Down
(NED) coordinates.
Inputs:
- az, el, slantrange: look angles and distance to target
point (ange, angle, length). Scalars, vectors and nD-arrays are accepted
and should have the same dimensions and length units.
- angleUnit: string for angular units (’degrees’ or ’radians’,
case-insensitive, just the first character will do). Default is ’degrees’.
Outputs:
- n, e, d: North, East, Down coordinates of points.
(same length units as inputs).
Examples:
[n, e, d] = aer2ned (33, 70, 1e3)
n = 286.84
e = 186.28
d = -939.69
With radians
[n, e, d] = aer2ned (pi/4, pi/3,1e3, "radians")
n = 353.55
e = 353.55
d = -866.03
See also: ned2aer, aer2ecef, aer2enu, aer2geodetic.