Help CenterHelp Center
Eccentricity of ellipse from flattening
ecc = flat2ecc(f)
example
ecc = flat2ecc(f) computes the eccentricity of an ellipse or an ellipsoid of revolution given the flattening f.
ecc
f
collapse all
Find the eccentricity of an ellipse from the flattening.
ecc = flat2ecc(0.0034)
ecc = 0.0824
Flattening, specified as a numeric scalar.
Data Types: single | double
single
double
Eccentricity of the ellipse, returned as a numeric scalar in the range [0, 1].
expand all
The flat2ecc function will not accept vectors or matrices as input in a future release. To update your code, specify a numeric scalar instead.
flat2ecc
axes2ecc
ecc2flat
n2ecc
Tiene una versión modificada de este ejemplo. ¿Desea abrir este ejemplo con sus modificaciones?
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office