<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/255229</link>
    <title>MATLAB Central Newsreader - Obtaining real answers with lsqcurvefit</title>
    <description>Feed for thread: Obtaining real answers with lsqcurvefit</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, 02 Jul 2009 23:00:03 -0400</pubDate>
      <title>Obtaining real answers with lsqcurvefit</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/255229#662401</link>
      <author>geg1633 Mona</author>
      <description>Hello all,&lt;br&gt;
&lt;br&gt;
I'm fit a dataset to F=A.x^2+log(Bx+C).  My lower bounds for A, B and C are Zero, and my upper bounds vary between 10 and .1. &lt;br&gt;
&lt;br&gt;
After a few iterations, lsqcurvefit outputs imaginary estimates for A,B, and C.  &lt;br&gt;
&lt;br&gt;
My question is:&lt;br&gt;
1- How can I force it to output only real values?&lt;br&gt;
2-How can I impose 0&amp;lt; Bx+C &amp;lt;.1?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
    </item>
  </channel>
</rss>

