How to locate the centre of vector field (or a vortex field) using quiver plot.

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

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 :)

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 19 Feb 2019

Commented:

on 25 Apr 2022

Community Treasure Hunt

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

Start Hunting!