How to locate the centre of vector field (or a vortex field) using quiver plot.
Show older comments
If you download the "vortex_velocity_data.mat" file you will be able to create the vector field which I created.
Once the code is impoted to the workspace, I type the following code, to get the quiver plot:
quiver(x,y,ud,vd)
How would I locate the centre of this quiver/vecor plot WITHOUT using the 'Data Cursor' ?
What lines of code will I have to write in order to locate the centre?
By locating the centre x and y co-ordinates i can find the relative velocity componets (u,v)
1 Comment
Ashfaq Ahmed
on 25 Apr 2022
Hi! I am facing the exact same issue. Could you eventually solve the problem or figure out how to do that? It would be a great help if you could share :)
Answers (0)
Categories
Find more on Vector Fields in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!