Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: non linear fitting tool
Date: Mon, 9 Nov 2009 10:03:03 +0000 (UTC)
Organization: Fluide Automatiques et Syst&#232;mes Thermiques
Lines: 22
Message-ID: <hd8pcn$ee5$1@fred.mathworks.com>
References: <hd0mu3$i27$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257760983 14789 172.30.248.37 (9 Nov 2009 10:03:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Nov 2009 10:03:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 143724
Xref: news.mathworks.com comp.soft-sys.matlab:583501


You can use the Ezyfit toolbox for this purpose,
http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30
Have also a look to the example file, where
the fit of an exponential is illustrated:
http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html
Frederic


"Samoline1 Linke" <maganatewoman@yahoo.com> wrote in message <hd0mu3$i27$1@fred.mathworks.com>...
> Hi,
> 
> I have read the non linear fitting tool tutorial but could not understand it well. Is there someone who could just tell me the method with the following simple example
> 
> e.g. 
> 
> x = [1 2 3 4 5]
> 
> y = [ 0.01 0.02 0.04 0.08 0.16 ]
> 
> If we do: scatter (x, y) we can see it would give a look of exponential function. 
> 
> How can we fit an estimate curve in this graph? I think we need nlintool but how to deal with this data there?