The MATLAB and Python code in this post accompany my YouTube video on how to compute circulation of an arbitrary vector field. Below you will find the MATLAB script and function.
Circulation.m
875 Downloads
COMPUTE_CIRCULATION.m
2292 Downloads
Below you will find the Python script and function. I can’t upload .py files, so I have uploaded .txt files instead. You can download the files and change the extension to .py.
Circulation.py
608 Downloads
COMPUTE_CIRCULATION.py
Note: I can’t upload “.py” files, so this is a “.txt” file. Just download it and change the extension to “.py”, and it should work fine.
1119 Downloads