The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: lsqcurvefit: What to do against it?
Replies: 3   Last Post: Jan 15, 2013 8:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Torsten Hennig

Posts: 2,419
Registered: 12/6/04
Re: lsqcurvefit: What to do against it?
Posted: Jan 14, 2013 7:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> Dear all,
> I just received after 10 iterations:
> Local minimum possible.
> lsqcurvefit stopped because the final change in the
> sum of squares relative to
> its initial value is less than the selected value of
> the function tolerance.
> <stopping criteria details>
> The fit is pretty bad. How do I avoid this, please?
> Thank you.

Set TolFun to a smaller value.

Best wishes

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.