Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

geodeticLatitudeFromGeocentric

Convert geocentric to geodetic latitude

Syntax

phi = geodeticLatitudeFromGeocentric(psi,F)
phi = geodeticLatitudeFromGeocentric(psi,F,angleUnit)

Description

example

phi = geodeticLatitudeFromGeocentric(psi,F) returns the geodetic latitude corresponding to geocentric latitude psi on an ellipsoid with flattening F.

phi = geodeticLatitudeFromGeocentric(psi,F,angleUnit) specifies the units of input psi and output phi.

Examples

collapse all

Create a reference ellipsoid.

s = wgs84Ellipsoid;

Convert the geocentric latitude to geodetic latitude. The reference ellipsoid contains a flattening factor.

geodeticLatitudeFromGeocentric(45, s.Flattening)
ans = 45.1924

Create a reference ellipsoid.

s = wgs84Ellipsoid;

Convert a geocentric latitude expressed in radians to geodetic latitude. The reference ellipsoid contains a flattening factor.

geodeticLatitudeFromGeocentric(pi/3, s.Flattening, 'radians')
ans = 1.0501

Input Arguments

collapse all

Geocentric latitudes of one or more points, returned as a scalar value, vector, matrix, or N-D array. Values are in units that match the input argument angleUnit, if supplied, and in degrees, otherwise.

Data Types: single | double

Flattening of reference spheroid, specified as a scalar value.

Data Types: double

Unit of measurement for angle, specified as either 'degrees' or 'radians'.

Data Types: char

Output Arguments

collapse all

Geodetic latitude of one or more points, returned as a scalar value, vector, matrix, or N-D array. Values must be in units that match the input argument angleUnit, if supplied, and in degrees, otherwise.

Was this topic helpful?