MATLAB Answers

0

how do I plot this vector graphs?

Asked by Adnan Can Akkoyunlu on 31 Mar 2019
Latest activity Answered by Akira Agata
on 1 Apr 2019

  0 Comments

Sign in to comment.

1 Answer

Answer by Akira Agata
on 1 Apr 2019

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

  0 Comments

Sign in to comment.