I want to plot the vector field on F=x i+ j

조회 수: 5 (최근 30일)
Atom
Atom 2023년 6월 12일
편집: Alan Stevens 2023년 6월 12일
I want to plot the vector field on
$\vec F=x\cap i+\cap j$
Invalid use of operator.

Error in connector.internal.fevalMatlab

Error in connector.internal.fevalJSON
Also how to plot the vector field of F=2*i+j?
How to do that
[x,y] = meshgrid(-3:.15:3,-3:.15:3);
Fx = x;
Fy = 1;
figure;
quiver(x,y,Fx,Fy,'k','linewidth',1)

채택된 답변

Alan Stevens
Alan Stevens 2023년 6월 12일
편집: Alan Stevens 2023년 6월 12일
Do you mean like this?
[x,y] = meshgrid(-3:.15:3,-3:.15:3);
Fx = x;
Fy = ones(size(y)); %%%%%%%%%%%
figure;
quiver(x,y,Fx,Fy,'k','linewidth',1)
For 2*i + j juat make Fx = 2*ones(size(x)).

추가 답변 (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