This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Third flattening of ellipse from eccentricity

Support for nonscalar input, including the syntax n = ecc2n(ellipsoid), will be removed in a future release.


n = ecc2n(ecc)
n = ecc2n(ellipsoid)


n = ecc2n(ecc) computes the parameter n (the "third flattening") of an ellipse (or ellipsoid of revolution) given its eccentricity ecc. n is defined as (a-b)/(a+b), where a is the semimajor axis and b is the semiminor axis. Except when the input has 2 columns (or is a row vector), each element is assumed to be an eccentricity and the output n has the same size as ecc.

n = ecc2n(ellipsoid), where ellipsoid has two columns (or is a row vector), assumes that the eccentricity is in the second column, and a column vector is returned.

Introduced before R2006a

Was this topic helpful?