How to change TolFun?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear All, Could one help me how to change TolFun ??
I look forward to hearing from you Regards Bestun
0 Kommentare
Akzeptierte Antwort
Geoff
am 25 Mär. 2012
You haven't said which solver you are using. Let's assume fzero:
opts = optimset('fzero');
opts = optimset( opts, 'TolFun', 1e-3 );
Then pass the options to your solver.
X = fzero( FUN, X0, opts );
This is all straight out of the documentation for optimset, by the way. =) Now that you know where to look, it's worth a read.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Optimization 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!