| Mapping Toolbox | Search  Help Desk |
| majaxis | Examples See Also |
Calculate semimajor axis from semiminor axis and eccentricity
Syntax
semimajor = majaxis(semiminor,eccentricity) semimajor = majaxis([semiminor,eccentricity])
Description
The semimajor axis, the first element of the standard geoid vector in the Mapping Toolbox, can be determined given both the semiminor axis and the eccentricity. semimajor = majaxis(semiminor,eccentricity) returns the semimajor axis length corresponding to the input semiminor axis and eccentricity. semimajor = majaxis([semiminor eccentricity]) allows the inputs to be packed into a single, two-column input of the form[semiminor eccentricity].
Examples
Using the default values for the Earth:semimajor = majaxis(6356.7523,0.0818192) semimajor = 6.3781e+03This is the default semimajor axis.
See Also
almanac |
Planetary data |
axes2eccminaxis |
Related conversion functions |