view Code/Descriptors/yin/private/cumnorm_inplace.m @ 1:a3d62264030c

tested and working
author Dawn Black <dawn.black@eecs.qmul.ac.uk>
date Mon, 10 Sep 2012 09:13:53 +0100
parents ea0c737c6323
children
line wrap: on
line source
% cumnorm_inplace(x) - cumulative mean-normalization 
%
%  x: matrix to normalize
%
% Each column of x is normalized by dividing each sample by the mean of
% samples with indices smaller or equal to it.
%
% Mex function.
% Warning: the input argument is assigned to.  This is not matlab-kosher!