Solving a nonlinear algebraic equations using fsolve or a defined function
13 次查看(过去 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!