PDA

View Full Version : Averaging Algorithms...



nchinoy
06-14-2005, 10:38 AM
Anyone using a good averaging algo ?

I am reading a ADC in burst, taking 20 samples at a time and then doing a simple average (sum of all 20 / 20) ... need to know any better algo's for averaging the ADC reading ...

frost
06-14-2005, 12:55 PM
take the median

happy_99
06-14-2005, 11:17 PM
take the median

That's what he's doing now !!

As far as I know that's the simplest and efficient averaging method.

Regds

happy_99