How to plot the phase plane for a system with three degrees by using streamslice?

3 次查看(过去 30 天)
For a system with 2 degree, we can use steamslice to plot phase plane.
e.g:
ODEs
dx/dt=x^2-2x-xy;
dy/dt=y^2-4y+xy;
Matlab code
[x,y]=meshgrid(linspace(-10,10));
streamslice(x,y,x.*(-2+x-y),y.*(-4+y+x));
xlabel(‘x’);ylabel(‘y’);
When I have a syetem of odinary differential equations with three degrees, how to plot phase plane of two degrees by using steamslice?
e.g:
ODEs
dx=f1(x,y,z)=-x
dy=f2(x,y,z)=-y+x^2
dz=f3(x,3,z)= z+x^2
I want to plot a phase plane of (x,y) by using streamslice. Is there a way to do this?
Thanks!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by