ELLIPSEPERIMETER Perimeter of an ellipse.
P = ellipsePerimeter(ELLI)
Computes the perimeter of an ellipse, using numerical integration.
ELLI is an ellipse, given using one of the following formats:
* a 1-by-5 row vector containing coordinates of center, length of
semi-axes, and orientation in degrees
* a 1-by-2 row vector containing only the lengths of the semi-axes.
The result
P = ellipsePerimeter(ELLI, TOL)
Specify the relative tolerance for numerical integration.
Example
P = ellipsePerimeter([30 40 30 10 15])
P =
133.6489
See also
ellipses2d, drawEllipse
Package: matgeom