How to write a phase plane in matlab?
Afficher commentaires plus anciens
I'm trying to write a phase plane for ODE.
The equation goes like: da/dt = -2*k1*a^2 + k2*b; db/dt = 2*k1*a^2 - k2*b, where k1 & k2 are const.
I want it to have arrows and lines and stuff like this:

I'm still very new to matlab so it's quite painful to read long long unfamiliar codes. If you can put detailed annotations with codes I'd appreciate it very much!
Thank you!
3 commentaires
KSSV
le 24 Avr 2020
What are the initial conditions for a and b?
BALAJI KARTHEEK
le 24 Avr 2020
use quiver for arrows
Moira
le 24 Avr 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Assembly 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!