- #1

Tallus Bryne

- 35

- 8

- TL;DR Summary
- Looking for a mathematical description of what exactly the MATLAB curl function does when doing something like [curlz, cav] = curl(x,y,u,v).

I am working with some data which represents the fluid position and velocity for each point of measurement as an x, y, u, and v matrix (from particle image velocimetry). I have done things like circulation, and discretizing the line integral involved was no problem. I am stuck when trying to calculate the vorticity at each point. Lets say each x, y, u, v matrix is NxN. I would like to find a NxN matrix which represents the curl of the associated velocity field. I'm aware of the curl function on MATLAB and how [curlz, cav] = curl(x,y,u,v) will do the job just fine. What I'm really wondering is how exactly MATLAB's curl function does this calculation, or just how it would be done on paper in a simple case. Aside from a solution, I'd also appreciate any advice or hints.