How to write a phase plane in matlab?
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 24 de Abr. de 2020
What are the initial conditions for a and b?
BALAJI KARTHEEK
el 24 de Abr. de 2020
use quiver for arrows
Moira
el 24 de Abr. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Assembly en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!