Gart888
Mechanical
- Oct 18, 2006
- 6
I am working with a large data set of vertical and horizontal velocities. When I plot these velocities, they form an ellipse.
I am required to write a program that will determine the b/a ratio of these ellipses.
It will be easy to determine the length of the major axis... simply the hypotenuse of the triangle connecting the max. and min. points of the ellipse in both directions. But i am having difficulty in comming up with an algorith to determine the length of the minor axis of the ellipse.
Any input or ideas on how to do this would be greatly appreciated.
Thanks!
I am required to write a program that will determine the b/a ratio of these ellipses.
It will be easy to determine the length of the major axis... simply the hypotenuse of the triangle connecting the max. and min. points of the ellipse in both directions. But i am having difficulty in comming up with an algorith to determine the length of the minor axis of the ellipse.
Any input or ideas on how to do this would be greatly appreciated.
Thanks!