Code covered by the BSD License  

Highlights from
A Numerical Tour of Signal Processing

from A Numerical Tour of Signal Processing by Gabriel Peyre
A set of Matlab experiments that illustrates advanced computational signal and image processing.

sum3(M,k)
function M = sum3(M,k)

% for Scilab compatibility
    
if nargin<2
    k = 3;
end
M = sum(M,k);

Contact us at files@mathworks.com