forward

Class: map.geodesy.IsometricLatitudeConverter
Package: map.geodesy

Convert between geodetic and isometric latitudes

Syntax

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

Description

psi = forward(converter,phi) returns the isometric latitude corresponding to geodetic latitude phi.

psi = forward(converter,phi,angleUnit) specifies the units of input phi.

Input Arguments

converter

Isometric 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

psi

Isometric latitude of each element in phi, returned as a scalar value, vector, matrix, or N-D array. Unlike phi, isometric latitude is a dimensionless number and does not have an angle unit.

Examples

expand all

Convert Geodetic Latitude Values to Isometric Values

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

      -Inf   -1.6087   -0.8766    -0.4006         0    0.4006    0.8766    1.6087       Inf
Was this topic helpful?