flat2ecc

Eccentricity of ellipse from flattening

Support for nonscalar input, including the special two-column syntax described below, will be removed in a future release.

Syntax

ecc = flat2ecc(f)
ecc = flat2ecc(f)

Description

ecc = flat2ecc(f) computes the eccentricity of an ellipse (or ellipsoid of revolution) given its flattening f. Except when the input has 2 columns (or is a row vector), each element is assumed to be a flattening and the output ecc has the same size as f.

ecc = flat2ecc(f), where f has two columns (or is a row vector), assumes that the second column is a flattening, and a column vector is returned.

See Also

| |

Introduced before R2006a