n2ecc
Eccentricity of ellipse from third flattening
Syntax
Description
Examples
Eccentricity of Ellipse from Third Flattening
Find the eccentricity of an ellipse from the third flattening.
ecc = n2ecc(0.0017)
ecc = 0.0823
Input Arguments
n
— Third flattening of ellipse
numeric scalar
Third flattening of the ellipse, specified as a numeric scalar. The input
n
is defined as (a–b)/(a+b), where a is the semimajor axis and
b is the semiminor axis.
Data Types: single
| double
Output Arguments
ecc
— Eccentricity of ellipse
numeric scalar
Eccentricity of the ellipse, returned as a numeric scalar in the range [0, 1].
Version History
Introduced before R2006aR2013b: Only numeric scalars will be accepted as input
The n2ecc
function will not accept vectors or matrices as input in
a future release. To update your code, specify a numeric scalar instead.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)