How to understand solutions provided by fsolve
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Arpita Nehra
am 26 Okt. 2019
Kommentiert: Star Strider
am 26 Okt. 2019
Hi,
I am using fsolve to solve a system of non-linear equations. However, my solutions (from complex values to positive) and exitflag (from -2 to 1) change a lot with a change in initial values and parameter values- does that mean that I need to check my equations and there is a problem with that?
Thanks in Advance,
Arpita
0 Kommentare
Akzeptierte Antwort
Star Strider
am 26 Okt. 2019
Nonlinear optimisation functions are sensitive — and can be very sensitive — to the initial estimates. If your equations re coded correctly, there is no problem with different solutions with respect to different initial parameter estimates.
2 Kommentare
Star Strider
am 26 Okt. 2019
As always, my pleasure.
The fsolve function is a root-finder. To understand how it works, see the Algorithms section of its documentation, as well as the links in the See Also section, that will link you to discussions of the various aspects of the algorithms. They explain it much better than I can.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Systems of Nonlinear Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!