title: Algorithm for reducing noise from signal data?
body: <p>I'm trying to write a program that smooths out some sensor data. </p>
  
  <p>The sensor provides a threshold input 0 to 100. It is usually accurate within 2 units or so but is jumpy reading to reading.  </p>
  
  <p>I get input many times per second and would like to create dynamic average from this data that isn't so jumpy. </p>
  
  <p>How would one go about averaging recent input in a way that you could get a smooth moving number, more accurate number (that keeps up in real-time with the readings) to show on an interface?</p>
  
  <p>Thanks for any help. </p>