MATLAB symbolic solve function is taking a very long time
Afficher commentaires plus anciens
Hello,
I have a non-linear system of symbolic equations. There are six equations and I need to solve for six unknowns. However, these equations have so many terms even after using 'simplify' command of MATLAB.
Previously, I was working with four equations and four unknowns. First, I tried to solve for each unknown separately. i.e. solve first equation for x_1 in terms of x_2,...x_4. Substitute the expression for x_1 in the rest of equations. Then, find x_2 using second equation and continue this way till all four variables are found. This was taking a longer time than solving all four equations at once.
Now when I try to solve six equations for six variables, none of the methods work any longer. I waited for hours for MATLAB to solve this system of equations. But it doesn't seem to work. Any help would be greatly appreciated.
Thanks, Rupa
I Was
1 commentaire
Star Strider
le 30 Déc 2016
Posting your code would help.
It may be time to use a numeric solver.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Systems of Nonlinear Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!