ecef2geodetic
Transform geocentric Earth-centered Earth-fixed coordinates to geodetic
Syntax
Description
[lat,lon,h] = ecef2geodetic(X,Y,Z,spheroid)
is supported but not
recommended. Unlike the previous syntaxes, this syntax returns
lat
and lon
in radians. Specify
spheroid
as either a reference spheroid or an ellipsoid
vector of the form [semimajor_axis, eccentricity]
. Specify
X
, Y
, and Z
in the
same units as the length unit of the spheroid
argument.
Additionally, the output h
returns in the same units as the
length unit of the spheroid
argument.
Examples
Input Arguments
Output Arguments
Tips
The geocentric Cartesian (ECEF) coordinate system is fixed with respect to the Earth, with its origin at the center of the spheroid and its positive X-, Y-, and Z axes intersecting the surface at the following points:
Latitude Longitude Notes X-axis 0 0 Equator at the Prime Meridian Y-axis 0 90 Equator at 90-degrees East Z-axis 90 0 North Pole
Extended Capabilities
Version History
Introduced in R2012bSee Also
geodetic2ecef
| ecefOffset
| ecef2aer
| ecef2ned
| ecef2enu