Eccentricity of ellipse from third flattening
Eccentricity of Ellipse from Third Flattening
Find the eccentricity of an ellipse from the third flattening.
ecc = n2ecc(0.0017)
ecc = 0.0823
n — Third flattening of ellipse
Third flattening of the ellipse, specified as a numeric scalar. The input
n is defined as (a–b)/(a+b), where a is the semimajor axis and
b is the semiminor axis.
ecc — Eccentricity of ellipse
Eccentricity of the ellipse, returned as a numeric scalar in the range [0, 1].
Version HistoryIntroduced before R2006a
R2013b: Only numeric scalars will be accepted as input
n2ecc function will not accept vectors or matrices as input in
a future release. To update your code, specify a numeric scalar instead.