Create a reference ellipsoid and then convert the geodetic
latitude to geocentric latitude. The reference ellipsoid contains
a flattening factor.
s = wgs84Ellipsoid;
geocentricLatitude(45, s.Flattening)
ans =
44.8076
Convert Geodetic Latitude Expressed in Radians to Geocentric Latitude
Create a reference ellipsoid and then convert a geodetic
latitude expressed in radians to geocentric latitude. The reference
ellipsoid contains a flattening factor.
s = wgs84Ellipsoid;
geocentricLatitude(pi/3, s.Flattening, 'radians')
phi — Geodetic latitude of one or more points scalar value, vector, matrix, or N-D array
Geodetic latitude of one or more points, specified 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.
Data Types: single | double
F — Flattening of reference spheroid scalar
Flattening of reference spheroid, specified as a scalar value.
Data Types: single | double
angleUnit — Unit of measurement for angle 'degrees' (default) | 'radians'
Unit of measurement for angle, specified as either 'degrees' or 'radians'.
psi — Geocentric latitudes of one or more points scalar value, vector, matrix, or N-D array
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.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.