|
From: | Markus Bergholz |
Subject: | Re: running Person's correlation |
Date: | Mon, 2 Sep 2013 09:01:23 +0200 |
Hi all,
I have a signal (long) and a template (short, fixed). I have to compute
the Pearson's correlation of the short signal with a sliding window of
the long signal. This is a convolution where each sample is divided by
the (fixed) standard deviation of the short signal and the running
standard deviation of the long signal.
The only loopless way I can think of is to compute a running sum, a
running sum of squares, and use them to compute a running standard
deviation to be multiplied with the convolution. Any more
straightforward methods?
--
Francesco Potortì (ricercatore) Voice: +39.050.621.3058
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |