Gradient Magnitude using Finite Differences

I am new to MATLAB and am interested in computing the gradient magnitude using finite differences with a window size. I noticed MATLAB has a gradient function but not finite differences option. Can someone help?
Thanks,

Categories

Asked:

on 29 Apr 2015

Answered:

on 7 Jul 2020

Community Treasure Hunt

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

Start Hunting!