How to plot vector field?
11 views (last 30 days)
Show older comments
Samaneh Arzpeima on 12 Jun 2018
Commented: KSSV on 13 Jun 2018
Hello Everybody I have 4 vectors x,z,dx,dz which respectively are coordinate of x,coordinate of z, displacement in x direction ,displacement in z direction. I want to plot a vector field graph for displacement, to see the amount and direction of displacement on each point.size of each vector is (110000,1).
What I could think of was
But didn’t work at all. Any help would be highly appreciated as I am still new to matlab. Thank you in advance
#x,z are evenly spaced, I mean with different intervals.
That's the data you had..may be you can skip few data and plot. Also have a look on quiver. YOu can specify the magnitude length etc.
More Answers (0)
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!