How do I plot A=sin(pi*y/2)i - sin(pi*x/2)j using QUIVER
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I plot A=sin(pi*y/2)i - sin(pi*x/2)j (where i unit vector in x, j unit vector in y, A resultant vector. x range +/-0.5 ; y range +/-0.5 ). using QUIVER.
0 Kommentare
Akzeptierte Antwort
the cyclist
am 7 Okt. 2011
x = -0.5:0.05:0.5;
y = -0.5:0.05:0.5;
[xx,yy] = meshgrid(x,y);
Ai = sin(pi*yy/2);
Aj = - sin(pi*xx/2);
quiver(xx,yy,Ai,Aj)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Vector Fields finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!