Main Content

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