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.

parametricLatitude

Convert geodetic to parametric latitude

Syntax

beta = parametricLatitude(phi,F)
beta = parametricLatitude(phi,F,angleUnit)

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: double

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

Data Types: char

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.

Was this topic helpful?