Plotting Phase Plane in Matlab

90 visualizaciones (últimos 30 días)
Ziv Melamed
Ziv Melamed el 6 de Dic. de 2018
Editada: Matt J el 12 de Sept. de 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:
x(t)=c1e^-3t+c2e^-t
y(t)=-c1e^-3t
Both c1 and c2 are constants

Respuestas (1)

Matt J
Matt J el 12 de Sept. de 2021
Editada: Matt J el 12 de Sept. de 2021
For example,
funx=@(t) c1*exp(-3*t)+c2*exp(-t);
funy=@(t) -c1*exp(-3*t);
fplot(funx,funy,[0,1])
or
t=linspace(0,1,100);
x= c1*exp(-3*t)+c2*exp(-t);
y= -c1*exp(-3*t);
plot(x,y,'x')

Categorías

Más información sobre Vibration Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by