ecef2geodetic - Convert geocentric (ECEF) to geodetic coordinates
Syntax
[phi,lambda,h] = ecef2geodetic(x,y,z,ellipsoid)
Description
[phi,lambda,h] = ecef2geodetic(x,y,z,ellipsoid) converts
geocentric Cartesian coordinates, stored in the coordinate arrays x, y, z,
to geodetic coordinates phi (geodetic latitude
in radians), lambda (geodetic longitude in radians),
and h (height above the ellipsoid). The geodetic
coordinates refer to the reference ellipsoid specified by ellipsoid (a
row vector with the form [semimajor axis, eccentricity]).
Arrays x, y, z,
and h must use the same units as the semimajor
axis. x, y, z, phi, lambda,
and h must have the same shape.
Definitions
For a definition of the geocentric system, also known as Earth-Centered,
Earth-Fixed (ECEF), see the help for geodetic2ecef.
See Also
ecef2lv | geodetic2ecef | lv2ecef
 | ecc2n | | ecef2lv |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit