Convert from geodetic coordinates to local North, East, Down (NED) coordinates.
Inputs:
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.
Outputs:
Lengh units are those of the invoked reference ellipsoid (see below).
Example:
lat = 42.002; lon = -81.998; alt = 1000; lat0 = 42; lon0 = -82; alt0 = 200; [n, e, d] = geodetic2ned(lat, lon, alt, lat0, lon0, alt0, "wgs84", "degrees") n = 222.18 e = 165.72 u = -799.99
See also: ned2geodetic, geodetic2aer, geodetic2ecef, geodetic2enu, egm96geoid, referenceEllipsoid.
Package: mapping