gradient
Core Math
Numerical gradient using central differences. Interior points use central differences; edges use forward/backward differences. h is optional uniform spacing (default 1).
Syntax
gradient(F)
gradient(F, h)
Examples
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab