Mapping Toolbox | ![]() ![]() |
Calculate eccentricity from semimajor and semiminor axes
Syntax
Description
Eccentricity, the second element of the standard geoid vector in the Mapping Toolbox, can be determined given both the semimajor and semiminor axes.
eccentricity = axes2ecc(semimajor,semiminor) returns the eccentricity associated with the input axes.
eccentricity = axes2ecc(axes) allows the axes inputs to be packed into a single, two-column input of the form [semimajor, semiminor].
Examples
Using the axes for the default GRS 80 Earth model:
This is the eccentricity returned by almanac('earth','geoid')
.
See Also
almanac |
Planetary data |
ecc2n majaxis minaxis |
Related conversion functions |
![]() | aut2geod | axesm | ![]() |