필터 지우기
필터 지우기

How do I plot A=sin(pi*y/2)i - sin(pi*x/2)j using QUIVER

조회 수: 1 (최근 30일)
David keenan
David keenan 2011년 10월 7일
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.

채택된 답변

the cyclist
the cyclist 2011년 10월 7일
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개)

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by