Plotting a vector function

I can't figure out how to draw an vector function in plot.
Here's an example for the vector function:

1 个评论

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

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by