<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104</link>
    <title>MATLAB Central Newsreader - Trend Line / Curve</title>
    <description>Feed for thread: Trend Line / Curve</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 05 Nov 2009 16:57:02 -0500</pubDate>
      <title>Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#692467</link>
      <author>Samoline1 Linke</author>
      <description>Is it possible to find the trend curve ? &lt;br&gt;
&lt;br&gt;
E.g. when we do   plot (x,y)&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
In MS Excel, I see such an option and in Excel it gives the value of R-square as well.</description>
    </item>
    <item>
      <pubDate>Thu, 05 Nov 2009 19:52:19 -0500</pubDate>
      <title>Re: Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#692516</link>
      <author>jrenfree</author>
      <description>On Nov 5, 8:57&#160;am, &quot;Samoline1 Linke&quot; &amp;lt;maganatewo...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Is it possible to find the trend curve ?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; E.g. when we do &#160; plot (x,y)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; In MS Excel, I see such an option and in Excel it gives the value of R-square as well.&lt;br&gt;
&lt;br&gt;
You can try using nlinfit to fit a function for exponential or&lt;br&gt;
logarithmic curves</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 08:17:04 -0500</pubDate>
      <title>Re: Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#692617</link>
      <author>Samoline1 Linke</author>
      <description>&lt;br&gt;
&amp;gt; You can try using nlinfit to fit a function for exponential or&lt;br&gt;
&amp;gt; logarithmic curves&lt;br&gt;
&lt;br&gt;
-------------------------&lt;br&gt;
&lt;br&gt;
Yes but in that one you have to set many other parameters e.g. you have to set the equation by yourself. I am asking something like a curve estimate just like polynomial fitting in Basic Fitting section of Matlab.&lt;br&gt;
&lt;br&gt;
I can see in matlab one can fit a st. line or a quadratic curve but why not exponential or logarithmic curve?</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 15:53:24 -0500</pubDate>
      <title>Re: Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#692711</link>
      <author>Richard Willey</author>
      <description>Hi There&lt;br&gt;
&lt;br&gt;
MathWorks offers a couple different products to extend the basic fitting &lt;br&gt;
capabilities in core MATLAB.&lt;br&gt;
&lt;br&gt;
Curve Fitting Toolbox is specific designed to solve curve and surface &lt;br&gt;
fitting problems.  The toolbox supports a wide number of different &lt;br&gt;
parametric models including both exponential curves.  You also have the &lt;br&gt;
option to specify your own custom equation for nonlinear regression.  The &lt;br&gt;
Toolbox includes GUI and command line options for all fitting operations. &lt;br&gt;
The Toolbox also supports a variety of post processing options (calculating &lt;br&gt;
the area under a curve, differentiation, etc).  And, of course, the toolbox &lt;br&gt;
also supports standard goodness-of-fit measures including R^2.&lt;br&gt;
&lt;br&gt;
If you're working with problems that feature a large number of independent &lt;br&gt;
variables you'd be better off looking at Statistics Toolbox.  Statistics &lt;br&gt;
Toolbox provides a number of metrics to determine whether your independent &lt;br&gt;
varaibles are correlated with one another.  The Toolbox also supports &lt;br&gt;
techniques like feature selection and feature transformation to help deal &lt;br&gt;
with these types of problems.&lt;br&gt;
&lt;br&gt;
regards,&lt;br&gt;
&lt;br&gt;
Richard&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Samoline1 Linke&quot; &amp;lt;maganatewoman@yahoo.com&amp;gt; wrote in message &lt;br&gt;
news:hcv04u$9sq$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Is it possible to find the trend curve ?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; E.g. when we do   plot (x,y)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; then in basic fitting we can do the fitting (trend line) for Linear and &lt;br&gt;
&amp;gt; Polynomial (curbic.. etc) but I could not find any GUI where I could fit &lt;br&gt;
&amp;gt; an exponential or logarithmic curve.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; In MS Excel, I see such an option and in Excel it gives the value of &lt;br&gt;
&amp;gt; R-square as well. </description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 16:19:02 -0500</pubDate>
      <title>Re: Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#692717</link>
      <author>Samoline1 Linke</author>
      <description>&quot;Richard Willey&quot; &amp;lt;rwilley@mathworks.com&amp;gt; wrote in message &amp;lt;hd1gpl$s3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi There&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; MathWorks offers a couple different products to extend the basic fitting &lt;br&gt;
&amp;gt; capabilities in core MATLAB.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Curve Fitting Toolbox is specific designed to solve curve and surface &lt;br&gt;
&amp;gt; fitting problems.  The toolbox supports a wide number of different &lt;br&gt;
&amp;gt; parametric models including both exponential curves.  You also have the &lt;br&gt;
&amp;gt; option to specify your own custom equation for nonlinear regression.  The &lt;br&gt;
&amp;gt; Toolbox includes GUI and command line options for all fitting operations. &lt;br&gt;
&amp;gt; The Toolbox also supports a variety of post processing options (calculating &lt;br&gt;
&amp;gt; the area under a curve, differentiation, etc).  And, of course, the toolbox &lt;br&gt;
&amp;gt; also supports standard goodness-of-fit measures including R^2.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you're working with problems that feature a large number of independent &lt;br&gt;
&amp;gt; variables you'd be better off looking at Statistics Toolbox.  Statistics &lt;br&gt;
&amp;gt; Toolbox provides a number of metrics to determine whether your independent &lt;br&gt;
&amp;gt; varaibles are correlated with one another.  The Toolbox also supports &lt;br&gt;
&amp;gt; techniques like feature selection and feature transformation to help deal &lt;br&gt;
&amp;gt; with these types of problems.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; regards,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Richard&lt;br&gt;
---------------------&lt;br&gt;
&lt;br&gt;
Thanks Richard for such a detailed reply. I do have the statistics toolbox but very interestingly in 'polynomial fitting tool' (part of stat. toolbox), one can fit a curve but can not get the value of R-sq or the value of P which cuold confirm that this fitting is good enough to be considered.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Just do regstats (y,x) and you will see an excellent table showing the values which I actually want to calculate but sadly matlab even with statistical toolbox calculates these values only for linear models. My question is that is it possible to calculate these values for high degree polynomials without using a curve fitting toolbox?&lt;br&gt;
&lt;br&gt;
I am askign because may be I could not explore it correctly. Could you please confirm if I am correct or not?</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 10:06:01 -0500</pubDate>
      <title>Re: Trend Line / Curve</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265104#693168</link>
      <author>Frederic Moisy</author>
      <description>Hi&lt;br&gt;
You can use the Ezyfit toolbox for this purpose:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&lt;/a&gt;&lt;br&gt;
You can easily fit log or exp laws, and it gives you the R-square value.&lt;br&gt;
Have a look to the example file:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&quot;&gt;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&lt;/a&gt;&lt;br&gt;
Frederic&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Samoline1 Linke&quot; &amp;lt;maganatewoman@yahoo.com&amp;gt; wrote in message &amp;lt;hcv04u$9sq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is it possible to find the trend curve ? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; E.g. when we do   plot (x,y)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; In MS Excel, I see such an option and in Excel it gives the value of R-square as well.</description>
    </item>
  </channel>
</rss>

