How can I find the roots of a two variable function f(x,y)?
조회 수: 42 (최근 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!