gradient
Gradient vector of symbolic scalar field
Description
returns the gradient vector of symbolic scalar field
g = gradient(f,v)f with respect to vector v in Cartesian
coordinates.
returns the
gradient vector of the scalar field g = gradient(f)f with respect to a default vector
constructed from the symbolic variables in f.
Examples
Input Arguments
Limitations
The
gradientfunction does not support tensor derivatives. If the gradient is a tensor field or a matrix rather than a vector, then thegradientfunction returns an error.Symbolic Math Toolbox™ currently does not support the
dotorcrossfunctions for symbolic matrix variables and functions of typesymmatrixandsymfunmatrix. If vector calculus identities involve dot or cross products, then the toolbox displays those identities in terms of other supported functions instead. To see a list of all the functions that support symbolic matrix variables and functions, use the commandsmethods symmatrixandmethods symfunmatrix.
More About
Version History
Introduced in R2011bSee Also
curl | divergence | diff | hessian | jacobian | laplacian | potential | quiver | vectorPotential
