Path: news.mathworks.com!not-for-mail
From: "Tom Lane" <tlane@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: non linear fitting tool
Date: Fri, 6 Nov 2009 16:54:46 -0500
Organization: The MathWorks, Inc
Lines: 7
Message-ID: <hd25v6$2vv$1@fred.mathworks.com>
References: <hd0mu3$i27$1@fred.mathworks.com> <hd0rnp$43i$1@fred.mathworks.com>
Reply-To: "Tom Lane" <tlane@mathworks.com>
NNTP-Posting-Host: lanet.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1257544486 3071 172.31.57.151 (6 Nov 2009 21:54:46 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Nov 2009 21:54:46 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Xref: news.mathworks.com comp.soft-sys.matlab:583132


> Y  =  b0 * exp ( b1 * x )
>
> But how to apply it in nlintool?

nlintool(x, y, @(p,x) p(1)*exp(p(2)*x), [.01 .2])