Path: news.mathworks.com!not-for-mail From: <HIDDEN> Newsgroups: comp.soft-sys.matlab Subject: Re: Determine eccentric points on a rotated ellipse? Date: Sat, 10 Apr 2010 18:18:05 +0000 (UTC) Organization: The MathWorks, Inc. Lines: 11 Message-ID: <hpqfct$sht$1@fred.mathworks.com> References: <hpmunc$64n$1@fred.mathworks.com> <hpoumm$m55$1@fred.mathworks.com> Reply-To: <HIDDEN> NNTP-Posting-Host: webapp-05-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1270923485 29245 172.30.248.35 (10 Apr 2010 18:18:05 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Sat, 10 Apr 2010 18:18:05 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 1187260 Xref: news.mathworks.com comp.soft-sys.matlab:625400 "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