Quiver
조회 수: 19 (최근 30일)
이전 댓글 표시
plot the direction field for dy/dt=(y^2)-ty.
so heres my script:
[T,Y]= meshgrid (-2:.2:2 -2:.2:2);
S= (Y.^2)-(T*Y); L= (??);
quiver(T,Y, ??, ??, ??), axis tight
xlabel 't', ylabel 'y'
title 'Direction Field for dy/dt=y^2-ty'
now, looking up help quiver, the example they used a gradient for the "L" and then used those value(s?) to plug into the third and fourth terms for "quiver". What do I do for the "??"s?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!