Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 15, 2013 8:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> > Set TolFun to a smaller value.
> >
> > Best wishes
> > Torsten.

>
> Dear Torsten,
> that worked, but the fit is still pretty bad.
> I have a curve running from 10^0 down to 10^(-4) on
> the y axis.
> The first 10 data points are fitted well for low
> x-values, but badly for higher x-values.
> I wanted to fit the log of my function, but received
> after ca. 4h calculations times just four misfitted
> point from 299 data points.
> I received during fitting:
>
> Warning: Maximum function count exceeded; singularity
> likely.
>
> What do I do with it?
> Is there a chance to introduce with lsqcurvefit some
> error boundaries for the data or some weighing,
> please?


Can you supply the data points and the fitting function ?

Best wishes
Torsten.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.