Plotting a vector function

21 visualizzazioni (ultimi 30 giorni)
Ogut Su Karagun
Ogut Su Karagun il 24 Dic 2022
I can't figure out how to draw an vector function in plot.
Here's an example for the vector function:
  1 Commento
Torsten
Torsten il 24 Dic 2022
Modificato: Torsten il 24 Dic 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.

Accedi per commentare.

Risposte (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov il 24 Dic 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.

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by