Path: news.mathworks.com!not-for-mail
From: "Rafael Herrejon" <rafael.erasethis@ic.is.tohoku.ac.jp>
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$1@fred.mathworks.com>
References: <984e419b-b5fd-4acb-bf80-bcb09dffcce6@v15g2000yqn.googlegroups.com>
Reply-To: "Rafael Herrejon" <rafael.erasethis@ic.is.tohoku.ac.jp>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228415462 1302 172.30.248.35 (4 Dec 2008 18:31:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Dec 2008 18:31:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 519311
Xref: news.mathworks.com comp.soft-sys.matlab:505033

djordjep@gmail.com wrote in message <984e419b-b5fd-4acb-bf80-bcb09dffcce6@v15g2000yqn.googlegroups.com>...
> 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.
> 
> http://www.pcprooncall.com/ellipse.zip
> 
> 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
    data=load('C:\Users\George\Documents\ellipse_v7.mat')
    x = data(:,1)';
    y = data(:,2)';

etc

btw, there are some fitellipse functions in FileExchange