convergence of fsolve solution stepsize
Afficher commentaires plus anciens
Any tips on convergence for fsolve function? My solution provides reasonable guesses based on inputs however it doesn't converge i.e. keeps giving error fsolve stopped because the relative size of the current step is less than the default value of the step size tolerance.
Is it possible to improve stepsize so it doesn't terminate?
Réponse acceptée
Plus de réponses (1)
Alan Weiss
le 2 Juin 2015
0 votes
The exit message that you report does not indicate an error or a problem. fsolve is simply telling you why it stopped. See the documentation on exit flags and exit messages, and I suggest that you read the exit message part especially carefully.
Alan Weiss
MATLAB mathematical toolbox documentation
2 commentaires
Swarn Kalsi
le 1 Août 2021
I have a set of equations that MathCad solves effortlessley. But, MATLAB can't. What's i am missing?
Star Strider
le 1 Août 2021
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!