Mapping Toolbox    
flat2ecc

Convert from flattening to eccentricity representation of the ellipsoid

Syntax

Description

Flattening and eccentricity are two methods of defining an ellipsoid.

eccentricity = flat2ecc(flattening) returns the equivalent eccentricity for the input flattening. If the input, flattening, is a two-column vector, only the second column is used. This allows two-element vectors to be used as rows of the input, since the form [semimajor-axis, flattening] is a complete representation of an ellipsoid (but is not the standard form for geoid vectors in the Mapping Toolbox). In all other cases, all columns of the input are used.

Example

This eccentricity is the default value for the Earth.

See Also
almanac
Planetary data
ecc2flat
Convert from eccentricity to flattening
ecc2n
majaxis
Other ellipsoid functions


  findm flatearthpoly