Main Content

ecc2n

Third flattening of ellipse from eccentricity

    Description

    example

    n = ecc2n(ecc) computes the third flattening n of an ellipse or an ellipsoid of revolution given its eccentricity ecc.

    Examples

    collapse all

    Find the third flattening of an ellipse from the eccentricity.

    n = ecc2n(0.0818)
    n = 0.0017
    

    Input Arguments

    collapse all

    Eccentricity of the ellipse, specified as a numeric scalar. The value of ecc must be in the range [0, 1].

    Data Types: single | double

    Output Arguments

    collapse all

    Third flattening of the ellipse, returned as a numeric scalar. The output n is defined as (ab)/(a+b), where a is the semimajor axis and b is the semiminor axis.

    Version History

    Introduced before R2006a

    expand all

    Not recommended starting in R2013b