Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Divergence of vector field

`divergence(V,X)`

`divergence(`

returns
the divergence
of vector field `V`

,`X`

)`V`

with respect to the
vector `X`

in Cartesian coordinates. Vectors `V`

and `X`

must
have the same length.