Solving a nonlinear algebraic equations using fsolve or a defined function
11 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I use fsolve to solve a system of nonlinear algebraic equations. My general question is that Is fsolve strong enough to find a solution for such a system? If I cannot find the solution using fsolve, Does it mean no other methods are able to solve it?!
Which method can I use instead of fsolve?
Thank you, Regards
0 件のコメント
採用された回答
Walter Roberson
2018 年 9 月 21 日
fsolve() relies upon the initial point you give it. It offers three different algorithms with different good points and bad points.
For example Levenberg-Marquardt can be good dealing in changes of direction and for getting around minor "hills", but it can still get caught in steep enough valleys (every direction looks very bad) or even in broad enough valleys (climbing out would require exceeding the stepsize maximum).
Sometimes vpasolve() from the symbolic toolbox can reason better, but certainly not always.
In some cases a useful approach can be using solve() to get a solution in terms of rootof() operators, and then to chase solutions to the rootof() such as with vpasolve() or fsolve() .
Generally speaking, finding the roots of nonlinear equations involving trig functions can be difficult.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Systems of Nonlinear Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!