Mercurial > hg > emotion-detection-top-level
annotate Code/Descriptors/yin/private/cumnorm_inplace.m @ 0:ea0c737c6323
first commit
author | Dawn Black <dawn.black@eecs.qmul.ac.uk> |
---|---|
date | Thu, 26 Jul 2012 14:46:25 +0100 |
parents | |
children |
rev | line source |
---|---|
dawn@0 | 1 % cumnorm_inplace(x) - cumulative mean-normalization |
dawn@0 | 2 % |
dawn@0 | 3 % x: matrix to normalize |
dawn@0 | 4 % |
dawn@0 | 5 % Each column of x is normalized by dividing each sample by the mean of |
dawn@0 | 6 % samples with indices smaller or equal to it. |
dawn@0 | 7 % |
dawn@0 | 8 % Mex function. |
dawn@0 | 9 % Warning: the input argument is assigned to. This is not matlab-kosher! |