Clear Filters
Clear Filters

GRAD

3 views (last 30 days)
x
x on 6 Sep 2011
GRADIENT:
(∇y)(x1i, x2j)=[∂y/∂x1(x1i,x2j), ∂y/∂x2(x1i,x2j)]
HOW TO IMPLEMENT THIS EQUATION

Answers (1)

Fangjun Jiang
Fangjun Jiang on 6 Sep 2011
For numerical analysis,
>> help gradient
GRADIENT Approximate gradient.
[FX,FY] = GRADIENT(F) returns the numerical gradient of the
matrix F. FX corresponds to dF/dx, the differences in x (horizontal)
direction. FY corresponds to dF/dy, the differences in y (vertical)
direction. The spacing between points in each direction is assumed to
be one. When F is a vector, DF = GRADIENT(F)is the 1-D gradient.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!