[Vx,Vy,Vz] = gradient(V,h);
[Vx,Vy,Vz] = gradient(V,h1,h2,h3);
If your domain is more complicated or you are looking for higher order operator lookup Finite Difference schemes or Finite Volume ones.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!