Function File: u, v, w = ned2ecefv (n, e, d, lat, lon)
Function File: u, v, w = ned2ecefv (n, e, d, lat, lon)

Convert vector projection(s) of local ENU coordinates to UVW (in ECEF coordinate frame).

Inputs:

  • n, e, d: North, East, Down local cartesian coordinates (length). All these inputs must have the same dimensions (scalar, vector or nD array) and length units.
  • lat, lon: geodetic latitude and longitude (angle). If non-scalar the dimensions should match those of the first three inputs.
  • angleUnit: string for angular units (’degrees’ or ’radians’, case-insensitive, just the first character will do). Default is ’degrees’.

Outputs:

  • u, v, w: vectors in local ECEF system (length units and dimensions same as first three inputs).

Examples:

[u, v, w] = ned2ecefv (757.11, 353.55, -657.11, 45, -45)
u =  200.00
v =  300.00
w =  1000.0

With radians

[u, v, w] = ned2ecefv (757.11, 353.55, -657.11, pi/4, -pi/4, "r")
u =  200.00
v =  300.00
w =  1000.0

See also: ecef2nedv, ned2aer, ned2ecef, ned2geodetic.

Package: mapping