Quiver function

2 visualizzazioni (ultimi 30 giorni)
KaMu
KaMu il 18 Mar 2012
Risposto: Raj il 17 Nov 2023
Hello, How does quiver plot the arrows from u and v?

Risposte (1)

Raj
Raj il 17 Nov 2023
Hello KaMu,
Using the 'quiver' function you can plot quiver or vector plot
quiver(U,V)
quiver(U,V) plots arrows with directional components specified by U and V at equally spaced points.
  • If U and V are vectors, then the x-coordinates of the arrows range from 1 to the number of elements in U and V, and the y-coordinates are all 1.
  • If U and V are matrices, then the x-coordinates of the arrows range from 1 to the number of columns in U and V, and the y-coordinates of the arrows range from 1 to the number of rows in U and V.
Additionally you can also refer to the documentation of 'quiver' function for detailled understanding-
I hope this helps!

Categorie

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

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by