view 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
line wrap: on
line source
% rsum_inplace(x,N) - in place running sum
%
%  x: matrix to sum
%  N: samples - size of running sum window
%
% Matrix x is summed row-wise.  The last (N-1) samples are not valid.
% N may be fractionary (handled by linear interpolation).
% 
% Mex function.  
% Beware: input argument is assigned to.  This is not matlab-kosher!