Convert local cartesian East, North, Up (ENU) coordinates to geodetic coordinates.
Inputs:
Outputs:
Note: alt (height) is relative to the reference ellipsoid, not the geoid. Use e.g., egm96geoid to compute the height difference between the geoid and the WGS84 reference ellipsoid.
Lengh units are those of the invoked reference ellipsoid (see below).
enu2geodetic.m is a wrapper for enu2ecef.m and ecef2geodetic.m
Example
[lat, lon, alt] = enu2geodetic (186.28, 286.84, 939.69, 42, -82, 200) lat = 42.003 lon = -81.998 alt = 1139.7
With radians
[lat, lon, alt] = enu2geodetic (186.28, 286.84, 939.69, pi/4, -pi/2, 200, ... "wgs84", "radians") lat = 0.78544 lon = -1.5708 alt = 1139.7
See also: geodetic2enu, enu2aer, enu2ecef, enu2ecefv, enu2uvw, egm96geoid, referenceEllipsoid.
Package: mapping