Matlab command for direction field
이전 댓글 표시
I have input the following commands to plot the direction field and it is not working. The domains for t and y is restricted as per the question given. Not sure if 0.02 is correct. Could you please help with commands to plot the direction field.
[t y]=meshgrid(0:0.02:0.1,0.2:0.02:1.4); dy=(cos(y)+3)./y; dt=ones(size(dy)); quiver(t, y, dt, dy);
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!