I have 2 matrices A
and B
, and by quiver(A,B)
I can easily plot a vector field. However, does anyone know how to visual vector field in the following way in Matlab?(don't really know the name of this kind of plot)
Thanks for helping me out!
I have 2 matrices A
and B
, and by quiver(A,B)
I can easily plot a vector field. However, does anyone know how to visual vector field in the following way in Matlab?(don't really know the name of this kind of plot)
Thanks for helping me out!
If you are looking for a map of magnitude (velocities), then:
Alternatively, if you want results that encode magnitude and direction in HSV color space like this example:
You can find this code useful.