Quiver function

Hello, How does quiver plot the arrows from u and v?

Answers (1)

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

Categories

Products

Tags

Asked:

on 18 Mar 2012

Answered:

Raj
on 17 Nov 2023

Community Treasure Hunt

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

Start Hunting!