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!