annotate Code/Descriptors/yin/private/src/rsum_inplace.m @ 4:92ca03a8fa99
tip
Update to ICASSP 2013 benchmark
author |
Dawn Black |
date |
Wed, 13 Feb 2013 11:02:39 +0000 |
parents |
ea0c737c6323 |
children |
|
rev |
line source |
dawn@0
|
1 % rsum_inplace(x,N) - in place running sum
|
dawn@0
|
2 %
|
dawn@0
|
3 % x: matrix to sum
|
dawn@0
|
4 % N: samples - size of running sum window
|
dawn@0
|
5 %
|
dawn@0
|
6 % Matrix x is summed row-wise. The last (N-1) samples are not valid.
|
dawn@0
|
7 % N may be fractionary (handled by linear interpolation).
|
dawn@0
|
8 %
|
dawn@0
|
9 % Mex function.
|
dawn@0
|
10 % Beware: input argument is assigned to. This is not matlab-kosher!
|