Filter löschen
Filter löschen

options = optimset('​MaxFunEval​s',999) does not work

2 Ansichten (letzte 30 Tage)
oxy
oxy am 15 Okt. 2013
Beantwortet: Alan Weiss am 15 Okt. 2013
Hi all,
I've also tried
hybridopts = optimset('MaxFunEvals', 1200)
And keep on getting:
lsqcurvefit stopped because it exceeded the function evaluation limit, options.MaxFunEvals = 200 (the default value).
Running Matlab 2012a on linux 64bit, using lsqcurvefit with std-options.
Any help?
thx...
  3 Kommentare
Friedrich
Friedrich am 15 Okt. 2013
do you pass down those options to the actual lsqcurvefit call?
oxy
oxy am 15 Okt. 2013
what do you mean by "pass"?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Alan Weiss
Alan Weiss am 15 Okt. 2013
You have to include the options in the function call. Something like
x = lsqcurvefit(fun,x0,xdata,ydata,lb,ub,hybridopts)
Alan Weiss
MATLAB mathematical toolbox documentation

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by