solution of a system non linear equations
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hassam khan
le 27 Nov 2020
Modifié(e) : Hassam khan
le 9 Déc 2020
I have a system of 10 non linear equation. I am tring to solve it by using fsolve.But the problem is that , which gives me one answer. On the other hand Mathematica gives me so many answer among those answer, there is answer I am looking for, which unforunately not given by MATLAB. Perhaps the problem is that tolerance function of fsove is e^{-6}, it may help if I could increase that. Does any one has an idea how to work with it?
2 commentaires
Réponse acceptée
Ameer Hamza
le 27 Nov 2020
If your system of equations has multiple solutions, fsolve() can only give you a single solution based on the initial point x0. One way is to try different initial points until the desired solution is found, but for a high-dimensional system, this approach can be very inefficient.
The other solution is to use symbolic toolbox and use solve() of vpasolve() functions. These functions are capable of finding multiple solutions to a system of equations.
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!