Effacer les filtres
Effacer les filtres

How can I find the roots of a two variable function f(x,y)?

35 vues (au cours des 30 derniers jours)
Boran Kolcu
Boran Kolcu le 2 Déc 2020
Modifié(e) : Ameer Hamza le 2 Déc 2020
How can I find the roots (x,y) of a function f(x,y)?

Réponses (1)

Ameer Hamza
Ameer Hamza le 2 Déc 2020
Modifié(e) : Ameer Hamza le 2 Déc 2020
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.

Catégories

En savoir plus sur Nonlinear Optimization dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by