Convert local cartesian North, East, Down (NED) 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).
ned2geodetic.m is a wrapper for ned2ecef.m and ecef2geodetic.m
Examples
[lat, lon, alt] = ned2geodetic (286.84, 186.28, -939.69, 42, -82, 200) lat = 42.003 lon = -81.998 alt = 1139.7
With radians:
[lat, lon, alt] = ned2geodetic (286.84, 186.28, -939.69, pi/4, -pi/2, 200, ... "wgs84", "radians") lat = 0.78544 lon = -1.5708 alt = 1139.7
See also: geodetic2ned, ned2aer, ned2ecef, ned2ecefv, referenceEllipsoid.
Package: mapping