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
958 Downloads

COMPUTE_CIRCULATION.m
2534 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
668 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.
1240 Downloads
Thank you
Thank you for the code you shared Josh!
Thanks for the code, Josh! Keep it up!
Thanks you!
Amazing content. learning a lot from you. thanks.
Thank you!
Amazing piece of work neat and clean Matlab Help
Thanks!