This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

majaxis

Semimajor axis of ellipse

Support for nonscalar input, including the syntax a = majaxis(vec), will be removed in a future release.

Syntax

a = majaxis(semiminor,e)
a = majaxis(vec)

Description

a = majaxis(semiminor,e) computes the semimajor axis of an ellipse (or ellipsoid of revolution) given the semiminor axis and eccentricity. The input data can be scalar or matrices of equal dimensions.

a = majaxis(vec) assumes a 2 element vector (vec) is supplied, where vec = [semiminor, e].

Introduced before R2006a