"fsolve stopped because it exceeded the function evaluation limit, options.Ma​xFunctionE​valuations = 1.700000e+03."

27 ビュー (過去 30 日間)
I am getting the error
"fsolve stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 1.700000e+03.".
Somebody pls help.

回答 (1 件)

Gagan Baishya
Gagan Baishya 2021 年 9 月 15 日
Hello,
You can use options & optimoptions to avoid the error.
options = optimoptions('fsolve');
options.MaxIterations = 1000;
options.MaxFunctionEvaluations = 1.700000e+03;
More information on options can be found in the documentation link below:

カテゴリ

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by