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:

Answers (0)

Categories

Tags

Asked:

on 19 Nov 2015

Community Treasure Hunt

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

Start Hunting!