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!