Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!k19g2000yqc.googlegroups.com!not-for-mail
From: jrenfree <jrenfree@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Trend Line / Curve
Date: Thu, 5 Nov 2009 11:52:19 -0800 (PST)
Organization: http://groups.google.com
Lines: 14
Message-ID: <25bff933-d94e-4e29-97fc-ab901b550a2a@k19g2000yqc.googlegroups.com>
References: <hcv04u$9sq$1@fred.mathworks.com>
NNTP-Posting-Host: 137.110.142.242
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1257450739 5642 127.0.0.1 (5 Nov 2009 19:52:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 5 Nov 2009 19:52:19 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k19g2000yqc.googlegroups.com; posting-host=137.110.142.242; 
	posting-account=lVpOYAoAAAD2lyD71kM3JZW0H08VNtYu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) 
	Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:582847


On Nov 5, 8:57 am, "Samoline1 Linke" <maganatewo...@yahoo.com> wrote:
> Is it possible to find the trend curve ?
>
> E.g. when we do   plot (x,y)
>
> then in basic fitting we can do the fitting (trend line) for Linear and Polynomial (curbic.. etc) but I could not find any GUI where I could fit an exponential or logarithmic curve.
>
> In MS Excel, I see such an option and in Excel it gives the value of R-square as well.

You can try using nlinfit to fit a function for exponential or
logarithmic curves