axes2ecc

Eccentricity of ellipse from axes lengths

Syntax

ecc = axes2ecc(semimajor,semiminor)
ecc = axes2ecc(vec)

Description

ecc = axes2ecc(semimajor,semiminor) computes the eccentricity of an ellipse (or ellipsoid of revolution) given the semimajor and semiminor axes. The input data can be scalar or matrices of equal dimensions.

ecc = axes2ecc(vec) assumes a 2 element vector (vec) is supplied, where vec = [semimajor semiminor].

See Also

| | |

Was this topic helpful?