Plotting system of differential equations
23 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sajith Dharmasena
le 24 Mar 2015
Commenté : Star Strider
le 24 Mar 2015
Hi,
does anybody know the code to plot a system of differential equations? For example say,
x1(dot) = -x2 + (x1)^2 -(x1*x2)
x2(dot) = x1 + (x1*x2)
Thanks in advance! :)
Sajith.
0 commentaires
Réponse acceptée
Star Strider
le 24 Mar 2015
Yes.
Give it a go. It should be very easy for you to cast your system of equations as an Anonymous Function. If you have problems with your code, we can help you get it running.
5 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!