How do i plot a single trajectory on a quiver plot?

If i have a phase portrait of a 2d dynamical system made using a quiver plot, on a mesh grid. And I want to see what happens if I state a point on the edge of the grid and see the trajectory as it passes through the system. This the code so far: >> [x,y]=meshgrid(-0.1:0.01:0.1,-0.1:0.01:0.1); >> ydot=3*x-4*y; >> xdot=x-2*y; >> quiver(x,y,xdot,ydot) </matlabcentral/answers/uploaded_files/40453/Matlb.jpg> This is it:

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Vector Fields 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by