| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Mapping Toolbox |
| Contents | Index |
| Learn more about Mapping Toolbox |
eccentricity = axes2ecc(semimajor,semiminor)
eccentricity = axes2ecc(axes)
Eccentricity, the second element of the standard Mapping Toolbox ellipsoid vector, 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].
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','ellipsoid').
almanac, ecc2n, majaxis, minaxis
![]() | avhrrlambert | axesm | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |