Main Content

flat2ecc

Eccentricity of ellipse from flattening

    Description

    example

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

    Examples

    collapse all

    Find the eccentricity of an ellipse from the flattening.

    ecc = flat2ecc(0.0034)
    ecc = 0.0824
    

    Input Arguments

    collapse all

    Flattening, specified as a numeric scalar.

    Data Types: single | double

    Output Arguments

    collapse all

    Eccentricity of the ellipse, returned as a numeric scalar in the range [0, 1].

    Version History

    Introduced before R2006a

    expand all

    See Also

    Functions