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

25 vues (au cours des 30 derniers jours)
I am getting the error
"fsolve stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 1.700000e+03.".
Somebody pls help.

Réponses (1)

Gagan Baishya
Gagan Baishya le 15 Sep 2021
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:

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by