Mercurial > hg > emotion-detection-top-level
comparison Code/Descriptors/yin/private/src/rsum_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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ea0c737c6323 |
---|---|
1 % rsum_inplace(x,N) - in place running sum | |
2 % | |
3 % x: matrix to sum | |
4 % N: samples - size of running sum window | |
5 % | |
6 % Matrix x is summed row-wise. The last (N-1) samples are not valid. | |
7 % N may be fractionary (handled by linear interpolation). | |
8 % | |
9 % Mex function. | |
10 % Beware: input argument is assigned to. This is not matlab-kosher! |