Main Content

ecc2flat

Flattening of ellipse from eccentricity

    Description

    example

    f = ecc2flat(ecc) computes the flattening f of an ellipse or an ellipsoid of revolution given its eccentricity ecc.

    Examples

    collapse all

    Find the flattening of an ellipse from the eccentricity.

    f = ecc2flat(0.0818)
    f = 0.0034
    

    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

    Flattening, returned as a numeric scalar.

    Version History

    Introduced before R2006a

    expand all

    Not recommended starting in R2013b