Code covered by the BSD License  

Highlights from
MIRtoolbox

image thumbnail
from MIRtoolbox by Olivier Lartillot
An innovative environment, on top of Matlab, for music and audio analysis

center(x)
function c = center(x)
if isempty(x)
    c = [];
else
    c = x - repmat(mean(x),[size(x,1),1,1]);
end

Contact us at files@mathworks.com