how do I plot this vector graphs?

답변 (1개)

Akira Agata
Akira Agata 2019년 4월 1일

0 개 추천

The vector plot for the problem 1-(a) will be like this. Now, I would recommend trying to do the same thing for the remaining problems for your practice !
[x,y] = meshgrid(linspace(-pi,pi,25),linspace(-pi,pi,25));
Ax = -sin(2*y);
Ay = cos(2*x);
figure
quiver(x,y,Ax,Ay)
quiver.png

이 질문은 마감되었습니다.

태그

질문:

2019년 3월 31일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by