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

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

Inputs:

  • e, n, u: East, North, Up 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 ENU system (length units and dimensions same as first three inputs).

Examples:

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

With radians

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

See also: ecef2enuv, enu2aer, enu2ecef, enu2geodetic, enu2uvw.

Package: mapping