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