Quiver function

2 次查看(过去 30 天)
KaMu
KaMu 2012-3-18
回答: Raj 2023-11-17
Hello, How does quiver plot the arrows from u and v?

回答(1 个)

Raj
Raj 2023-11-17
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!

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by