<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238505</link>
    <title>MATLAB Central Newsreader - problem with curve fitting</title>
    <description>Feed for thread: problem with curve fitting</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>Fri, 31 Oct 2008 20:48:01 -0400</pubDate>
      <title>problem with curve fitting</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238505#608435</link>
      <author>Mohammad Monfared</author>
      <description>Hi everybody,&lt;br&gt;
I'm trying to fit a curve to my data using 'curve fitting toolbox', but I can't get any result from.&lt;br&gt;
here is my data:&lt;br&gt;
x=[0 2 50 106 250 500 1000 2000];&lt;br&gt;
y=[0 0.03 0.17 0.279 0.735 0.921 0.994 1.002];&lt;br&gt;
&lt;br&gt;
and here is my 4-parameters function:&lt;br&gt;
y=(1/log(exp(1)+(ag/x)^ng)^mg)*(1-(log(1+(dg)/x)/log(1+dg)))^7&lt;br&gt;
&lt;br&gt;
One of my friends has done this job using the SPSS software, and I know the values of parameters are:&lt;br&gt;
ag=250 ; ng=2.944  ; mg=1.2  ; dg=3.059  ;&lt;br&gt;
&lt;br&gt;
I've tried different boundaries and starting point! where am I wrong or It's something whit this toolbox?&lt;br&gt;
(I'm using v. R2007a)&lt;br&gt;
&lt;br&gt;
thanks in advance,</description>
    </item>
  </channel>
</rss>

