views:

82

answers:

2

I'm not even sure what sliding average is, but someone told me it would help with something I'm working on.

I have a table of random values -- table[n] = random(100) / 100

I need to populate table2 with their sliding averages.

I think this is the terminology. Let me know if it doesn't make sense.

+6  A: 

The Moving average entry on Wikipedia might be a good start.

smmv
Ah, I saw an question here on Stack Overflow regarding moving averages. Thanks.
Scott
+2  A: 

"Sliding Average" is another term for "Moving Average" AKA "Boxcar Average".

All are a form of Smoothing the data.

drewk