I was looking for a way to draw slope fields in Matlab.
Here is what I am looking for:
I have an equation
dy/dx = f(x,y)
or
dx/dt = f(x,y) dy/dt = g(x,y)
and I want to do it in a beautiful way
Since the only answer about this here did not answer my question, it took me a while to find how to do this.
In addition, because this is not what I do all the time in matlab (most likely, until next time I will need it, I will forget it) I am creating a note for me on how to do this.
If you find this useful, feel free to raise
source share