Skip to content

Instantly share code, notes, and snippets.

@lettergram
Created March 14, 2015 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lettergram/96cad1e293936d5083d5 to your computer and use it in GitHub Desktop.
Save lettergram/96cad1e293936d5083d5 to your computer and use it in GitHub Desktop.
Taking the derivative of gaussian
% Takes the derivative of a 5x5 gaussian, with a sigma
[hx, hy] = gradient(fspecial('gaussian',[5 5],sigma));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment