Code covered by the BSD License  

Highlights from
Toolbox diffc

image thumbnail
from Toolbox diffc by Gabriel Peyre
A toolbox to perform differential calculus on a matrix.

compute_laplacian(M,options)
function lap = compute_laplacian(M,options)

% compute_laplacian - compute the laplacian of an image.
%
% y = compute_laplacian(M,options);
%
%   Copyright (c) 2004 Gabriel Peyr

options.null = 0;

lap = compute_operator_2(M,[1,1,0],options);

Contact us at files@mathworks.com