MATLAB Answers

Plotting Phase Plane in Matlab

53 views (last 30 days)
Ziv Melamed
Ziv Melamed on 6 Dec 2018
Edited: Matt J on 12 Sep 2021
I have solved the matrix by hand and I found the general solution. If I wanted to plot the phase plane on Matlab, how would I go about doing that?
Here is an example of the general solution for the phase plane I want to plot:
Both c1 and c2 are constants

Answers (1)

Matt J
Matt J on 12 Sep 2021
Edited: Matt J on 12 Sep 2021
For example,
funx=@(t) c1*exp(-3*t)+c2*exp(-t);
funy=@(t) -c1*exp(-3*t);
x= c1*exp(-3*t)+c2*exp(-t);
y= -c1*exp(-3*t);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!