Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5643

Sliding Time Window Function

From northern_flicker <max_kip@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Sliding Time Window Function
Date 2011-10-14 09:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j79151$i46$1@smc.vnet.net> (permalink)

Show all headers | View raw


Dear Forum

This problem is quite similar to a moving average, but it has two differences, which I am struggling to overcome.  It is applicable to a heterogeneous time series with dependent x and y values, i.e., {time, x, y}, where the temporal variations in x and y are of interest.

1) It would be preferable to have a sliding window based on a time interval rather than the number of data, e.g., 0.5 s, 5 min., 50 years, etc.
2) Instead of a moving average I would like to apply some expression over the moving time interval that uses both x and y, e.g.,

Total[Cos(x)*Sin(y)]/Total[Cos(x)*Cos(y)]

A fresh approach would be much appreciated

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Sliding Time Window Function northern_flicker <max_kip@hotmail.com> - 2011-10-14 09:58 +0000
  Re: Sliding Time Window Function Vince Virgilio <blueschi@gmail.com> - 2011-10-16 11:09 +0000

csiph-web