Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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