How can I find the roots of a two variable function f(x,y)?
67 次查看(过去 30 天)
显示 更早的评论
How can I find the roots (x,y) of a function f(x,y)?
0 个评论
回答(1 个)
Ameer Hamza
2020-12-2
编辑:Ameer Hamza
2020-12-2
Primarily are following two ways.
If you have the Symbolic toolbox, you can use solve(): https://www.mathworks.com/help/symbolic/solve.html or vpasolve(): https://www.mathworks.com/help/symbolic/vpasolve.html.
If you have the Optimization toolbox, use fsolve(): https://www.mathworks.com/help/optim/ug/fsolve.html
You can also try fmincon() and treat it as a optimization problem.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!