Why isn't my max iterations increasing?
Show older comments
I'm trying to increase the max iterations for fsolve but it seems that it's not changing even when I specify a different number.

Accepted Answer
More Answers (2)
Image Analyst
on 9 Oct 2022
0 votes
Evidently it has a max iteration of 400, not ten thousand like you tried to use. I don't know why.
Steven Lord
on 9 Oct 2022
0 votes
You're not passing the options you set using optimoptions into fsolve. The optimoptions function doesn't change some "global options"; you have to pass that output argument into the function you want to use the new options.
Categories
Find more on Creating and Concatenating Matrices 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!