curl
Curl of a vector field.
Syntax
Section titled “Syntax”c = curl(x, y, u, v, ...)[cx, cy, cz, cva] = curl(x, y, z, u, v, w, ...)Description
Section titled “Description”In 2D, returns the scalar z-component of the curl. In 3D, returns the three components of ∇ × F plus cva (the curl angular velocity = 0.5 * |curl|).
Example
Section titled “Example”c = curl(X, Y, U, V);See also
Section titled “See also”divergence— Divergence of a vector field.gradient— Numerical gradient of a scalar field.