Skip to content

divergence

Divergence of a vector field.

d = divergence(x, y, u, v, ...)

Returns ∂u/∂x + ∂v/∂y (and + ∂w/∂z in 3D) — the divergence of the vector field. Computed numerically from the gridded data.

d = divergence(X, Y, U, V);
  • curl — Curl of a vector field.
  • gradient — Numerical gradient of a scalar field.