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.

compute_min(X,d)
function [Y,I] = compute_min(X,d)

% compute_min - compute min along dimension d
%
%   [Y,I] = compute_min(X,d);
%
%   Copyright (c) 2008 Gabriel Peyre

if nargin<2
    d = 1;
end

[Y,I] = min(X,[],d);

Contact us at files@mathworks.com