Kardi Teknomo
Kardi Teknomo Kardi Teknomo Kardi Teknomo
   
 
Research
Publications
Tutorials
Resume
Personal
Resources
Contact

Recursive Time Average

 

<Contents | Previous | Next>

This is a better way to compute average of a large measurement sequence. You don’t need to store all the measurement data. All you need is to compute the current average  is the current measurement data  and the previous average . The formula is as follow

                                       (3)

Since the subscript  start at 1, then  is undefined. For convenient, we can put zero (or any number) to give the correct answer.

Using the previous measurement data of 4, 6, 12, 9 we can get exactly the same result of average as the usual computation method, but in more efficient way. Table below show the computation using the recursive average.

Time

( )

Measurement

( )

Average

( )

1

2

3

4

 

See the Proof

 

<Contents | Previous | Next>

 
© 2006 Kardi Teknomo. All Rights Reserved.
Designed by CNV Media