nlinfit - iteration limit exceeded error

4 Ansichten (letzte 30 Tage)
b3824855
b3824855 am 15 Mär. 2012
Hi All,
Im trying to do nonlinear regression using nlinfit, and I keep getting the warning "iteration limit exceeded".
I have 6 coefficients that Im trying to estimate using nlinfit. Is the number of coefficients the reason that im getting this warning? Is 6 coefficients too much to estimate within the limited number of iterations?
I changed the initial values of all the coefficients closer to the expected answer, but still this error keeps coming up.
Please help me understand this if you can. Thank you very much.
  1 Kommentar
b3824855
b3824855 am 15 Mär. 2012
Also, I would like to add that Im doing "robust" fitting. (Just in case its relevant)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Geoff
Geoff am 15 Mär. 2012
Probably your termination tolerance is too small for the data you're throwing at it.
Play with the options 'MaxIter', 'TolFun', and 'TolX'.
doc nlinfit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by