Folks,

I have a series of ~ 350 data points, I have been asked to get a running
average of each data
point.

IE:

data points 1 - 20

1: 30
2: 23
3: 1
4: 23 
5: 34
6: 56
7: 85
9: 32
10: 89
11: 23
12: 34
13: 19
14: 94
15: 11
16: 19
17: 54
18: 23
19: 87
20 49


avg1 = (value1 + values2..11) / 10
avg2 = (value2 + values3..12) / 10
avg3 = (value3 + values4..13) / 10

the math is the easy part, how would I go about cleanly and efficiently
running through a has and doing the above?

-Ron

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to