Convert vector projection UVW (ECEF coordinate frame) to local NED (North East, Down) coordinates.
Inputs:
u, v, w: vector components in ECEF coordinate frame (length). All these inputs must have the same dimensions (scalar, vector or nD array).
lat, lon: geodetic latitude and longitude (angle, default = degrees). If non-scalar the dimensions should match those of the first three inputs.
(optional) 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 cartesian coordinates in same length units (and dimensions) as first three inputs.
Examples:
[n, e, d] = ecef2nedv (200, 300, 1000, 45, -45) n = 757.11 e = 353.55 d = -657.11
With radians
[n, e, d] = ecef2nedv (200, 300, 1000, pi/4, -pi/4, "r") n = 757.11 e = 353.55 d = -657.11
See also: ned2ecefv, ecef2aer, ecef2enu, ecef2enuv, ecef2ned, ecef2geodetic.
Package: mapping