From: "Rafael Herrejon" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Ellipse Fitting
Date: Thu, 4 Dec 2008 18:31:02 +0000 (UTC)
Organization: &#26481;&#21271;&#22823;&#23398;.
Lines: 34
Message-ID: <gh97l6$18m$>
References: <>
Reply-To: "Rafael Herrejon" <>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1228415462 1302 (4 Dec 2008 18:31:02 GMT)
NNTP-Posting-Date: Thu, 4 Dec 2008 18:31:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 519311
Xref: comp.soft-sys.matlab:505033 wrote in message <>...
> Hello all, i have a problem with ellipse fitting experiment i'm trying
> to do for my class:
> In an experiment of image processing, we have collected the scattered
> data of an ellipse, which is contained in the data file and figure
> attached in zip file.
> Question asked is to  estimate the location, size and orientation of
> the ellipse from the scattered data and to draw the ellipse which best
> fits the scattered data based on the estimation results.
> How would i go about using that set of data into my function? I tried
> to open a file with data, but all i get
> >> load('C:\Users\George\Documents\ellipse_v7.mat')
> >>
> And nothing happens after that.
> Any help or pointers would be greatly appriciated. I'm not great with
> Matlab, but i'm trying to learn

to be able to see the data, you have assign it to something,for example
    x = data(:,1)';
    y = data(:,2)';


btw, there are some fitellipse functions in FileExchange