Mapping Toolbox | ![]() ![]() |
Calculate eccentricity from semimajor and semiminor axes
Syntax
eccentricity = axes2ecc(semimajor,semiminor) eccentricity = axes2ecc(axes)
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:
ecc = axes2ecc(6378.1370,6356.7523) ecc = 0.08181921804834
This is the eccentricity returned by almanac('earth','geoid')
.
See Also
almanac |
Planetary data |
ecc2n majaxis minaxis |
Related conversion functions |
![]() | aut2geod | axesm | ![]() |