increase options.MaxFunEvals

Hi,
I am following the example for fitting interest rate curve, Svensson model, and I received following error message. How can I fix the problem and increase the options.MaxFunEvals? By the way, I have tried options.MaxFunEvals=200000; and options=optimset(options,'MaxFunEvals',10000,'MaxIter',10000); but it seems they dont increase the local parameters. Do you have any suggestion? Thank you
Maximum number of function evaluations exceeded; increase options.MaxFunEvals Warning: Function evaluation or iteration limit exceeded > In IRFunctionCurve.IRFunctionCurve>IRFunctionCurve.fitFunction at 545 In IRFunctionCurve.IRFunctionCurve>IRFunctionCurve.fitSvensson at 692

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

質問済み:

2012 年 12 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by