Mapping Toolbox | ![]() ![]() |
Convert from flattening to eccentricity representation of the ellipsoid
Syntax
eccentricity = flat2ecc(flattening)
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
e = flat2ecc(0.003353) e = 0.08182149712026
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 | ![]() |