Skip to Main Content Skip to Search
Product Documentation

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

ecc2flat | ecc2n | majaxis | minaxis

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS