Gradient of a matrix

Hello,
is there any possibility to calculate the gradient of a 2D matrix in Matlab ?
Thank you in advance

Answers (1)

doc gradient
If you have the Image Processing Toolbox:
doc imgradient
doc imgradientxy

Products

Asked:

on 24 Sep 2013

Community Treasure Hunt

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

Start Hunting!