Plotting a vector function

41 views (last 30 days)
Ogut Su Karagun
Ogut Su Karagun on 24 Dec 2022
I can't figure out how to draw an vector function in plot.
Here's an example for the vector function:
  1 Comment
Torsten
Torsten on 24 Dec 2022
Edited: Torsten on 24 Dec 2022
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.

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 24 Dec 2022
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.

Categories

Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!