forward

Class: map.geodesy.RectifyingLatitudeConverter
Package: map.geodesy

Geodetic latitude to rectifying latitude

Syntax

mu = forward(converter,phi)
mu = forward(converter,phi,angleUnit)

Description

mu = forward(converter,phi) returns the rectifying latitude corresponding to geodetic latitude phi.

mu = forward(converter,phi,angleUnit) specifies the units of input phi and output mu.

Input Arguments

converter

Rectifying latitude converter, specified as a scalar map.geodesy.IsometricLatitudeConverter object.

phi

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

angleUnit

Units of angles, specified as 'degrees' or 'radians'.

Default: ‘degrees'

Output Arguments

mu

Rectifying latitude of each element in phi, returned as a scalar value, vector, matrix, or N-D array. Units are determined by the input argument angleUnit, if supplied; values are in degrees, otherwise.

Examples

expand all

Convert Geodetic Latitude Values to Rectifying Latitudes

phi = [-90 -67.5 -45 -22.5 0 22.5 45 67.5 90];
conv = map.geodesy.RectifyingLatitudeConverter(wgs84Ellipsoid);
mu = forward(conv,phi)
mu =

  -90.0000  -67.3978  -44.8557   -22.3981         0   22.3981   44.8557   67.3978   90.0000
Was this topic helpful?