Main Content

parametricLatitude

Convert geodetic to parametric latitude

Description

example

beta = parametricLatitude(phi,F) returns the parametric latitude corresponding to geodetic latitude phi on an ellipsoid with flattening F.

example

beta = parametricLatitude(phi,F,angleUnit) specifies the units of input phi and output beta.

Examples

collapse all

Create a reference ellipsoid and then convert the geodetic latitude to parametric latitude. The reference ellipsoid contains a flattening factor.

s = wgs84Ellipsoid;

parametricLatitude(45, s.Flattening)
ans =

   44.9038

Create a reference ellipsoid and then convert a parametric latitude expressed in radians to geodetic latitude. The reference ellipsoid contains a flattening factor.

s = wgs84Ellipsoid;

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

    1.0457

Input Arguments

collapse all

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

Flattening of reference spheroid, specified as a scalar value.

Data Types: single | double

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

Data Types: char | string

Output Arguments

collapse all

Parametric 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.

Introduced in R2013a