Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how do I plot this vector graphs?

1 visualizzazione (ultimi 30 giorni)
Adnan Can Akkoyunlu
Adnan Can Akkoyunlu il 31 Mar 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021

Risposte (1)

Akira Agata
Akira Agata il 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

Community Treasure Hunt

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

Start Hunting!

Translated by