Path: news.mathworks.com!not-for-mail
From: "Camille Couzi" <camillecouzi@yahoo.fr>
Newsgroups: comp.soft-sys.matlab
Subject: Point inside an ellipse (given that I know minor and major axis of the ellipse)
Date: Wed, 8 Dec 2010 12:47:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <idnuo8$8s3$1@fred.mathworks.com>
Reply-To: "Camille Couzi" <camillecouzi@yahoo.fr>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1291812424 9091 172.30.248.38 (8 Dec 2010 12:47:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 8 Dec 2010 12:47:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2440108
Xref: news.mathworks.com comp.soft-sys.matlab:693550

Hi!
I suppose that this is recurrent and easye question,but how can I know if a couple of points (x,y) is inside and ellipse defined by major and minor axis?
I have read some solutions using inpolygon, but I don't really know how to define the polygon so that it will be my ellipse...
If somebody can help me I will be very very greatfull.
Thanks in advance!