Mercurial > hg > emotion-detection-top-level
view Code/Descriptors/yin/private/rsum_inplace.m @ 3:e1cfa7765647
initial commit - this file calculates the basic set of metrics (mean, variance, min and max, from an array of supplied data.
author | Dawn Black <dawn.black@eecs.qmul.ac.uk> |
---|---|
date | Mon, 10 Sep 2012 09:20:12 +0100 |
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!