Plotting a vector function

조회 수: 41 (최근 30일)
Ogut Su Karagun
Ogut Su Karagun 2022년 12월 24일
답변: Sulaymon Eshkabilov 2022년 12월 24일
I can't figure out how to draw an vector function in plot.
Here's an example for the vector function:
  댓글 수: 1
Torsten
Torsten 2022년 12월 24일
편집: Torsten 2022년 12월 24일
I also don't know of a way how to plot
f(x,y) = [y^2;2*x*(y+1)]
if this is what you mean.
You can plot each of the two component functions separately, if this suffices.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022년 12월 24일
If understood your question correctly, you may use plotting vector field plot functions of MATLAB, e.g.: quiver(), quiver3(), compass(), feather().
See MATLAB doc how to plot vector fields here.

카테고리

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