"Conrad " <conrad7@gmx.net> wrote in message <hpoumm$m55$1@fred.mathworks.com>...
> ...... I've drawn an ellipse(x0,y0,semimajor,semiminor,phi), phi being the angle of rotation. I would like to find out what equation or function that can get me the positions of the points where the ellipse is the most eccentric (so 2 points). Because the ellipse is at an angle of rotation, it's not a simple matter of getting the lowest and highest y value.
> ......
I don't understand what the difficulty is in your first question about drawing the major and minor axes. In the versions of ellipse.m that I know about, the entered values are major and minor axes lengths, center position, and rotation angle, and therefore you must have known these quantities if you called on 'ellipse'. What else would you need to draw these axes?
In the second question about the "most eccentric points" I'm afraid I don't know what you mean by this. My understanding is that eccentricity in an ellipse is a property possessed by the ellipse as a whole and not a property of its individual points. If one takes the literal dictionary definition of 'eccentric' as being off center, then perhaps you mean the points at the ends of the major axes which are the greatest distance from the center of the ellipse. In that case, these again should be very easy to determine from your known 'ellipse' arguments.
In any case, if it is something you could have determined just from y values if there had been no rotation, then all you would have to do in this case is make a rotational transformation of variables to produce such a transformed "y".
Roger Stafford
