Effacer les filtres
Effacer les filtres

Quiver function

1 vue (au cours des 30 derniers jours)
KaMu
KaMu le 18 Mar 2012
Réponse apportée : Raj le 17 Nov 2023
Hello, How does quiver plot the arrows from u and v?

Réponses (1)

Raj
Raj le 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!

Catégories

En savoir plus sur Vector Fields dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by