Thread: Data Smoothing
View Single Post
  #2   Spotlight this post!  
Unread 14-01-2008, 10:17
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Data Smoothing

Quote:
Originally Posted by Lafleur View Post
Here is a bit of code to use the Exponential moving average (EMA) function for data smoothing.
Nice. We've stuck with arithmetic moving averages in the past since they are fast and can be implemented in pure integer math, but it's nice to see someone using this and posting sample code.