geoc2geod
Convert geocentric latitude to geodetic latitude
Syntax
Description
WGS84 Ellipsoid Planet
and
geodeticLatitude
=
geoc2geod(geocentricLatitude
,radii
)[
convert an array of geocentric latitudes and an array of radii from the center of the
planet into an array of geodetic latitudes. The optional geodeticLatitude
,height
] =
geoc2geod(geocentricLatitude
,radii
)height
returns the mean sea-level altitude (MSL).
Specific Ellipsoid Planet
and
geodeticLatitude
=
geoc2geod(geocentricLatitude
,radii
,model
)[
convert for a specific ellipsoid planet.geodeticLatitude
,height
] =
geoc2geod(geocentricLatitude
,radii
,model
)
Custom Ellipsoid Planet
and
geodeticLatitude
=
geoc2geod(geocentricLatitude
,radii
,flattening
, Re
)[
convert for a custom ellipsoid planet defined by flattening and the equatorial
radius.geodeticLatitude
,height
] =
geoc2geod(geocentricLatitude
,radii
,flattening
,Re
)
Examples
Input Arguments
Output Arguments
Limitations
This function generates a geocentric latitude that lies between ±90 degrees.