Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

axes2ecc - Eccentricity of ellipse with given axis lengths

Syntax

eccentricity = axes2ecc(semimajor,semiminor)
eccentricity = axes2ecc(axes)

Description

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].

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','ellipsoid').

See Also

almanac, ecc2n, majaxis, minaxis

  


Recommended Products

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