Matlab script for solution to the driven cavity problem on a staggered grid using a divergence formulation and second-order Runge-Kutta time integration.
3D shape reconstruction matlab code. It used shape from defocus technique with divergence. You can reconstruct 3D shape with only two different depth images.