title: Simple signal processing in C#
body: <p>I'm sampling a real-world sensor, and I need to display its filtered value. The signal is sampled at a rate of 10&nbsp;Hz and during that period it could rise as much as 80 per cent of the maximum range.</p>
  
  <p>Earlier I've used Root Mean Square as a filter and just applying it to the last five values I've logged. For this application this wouldn't be good because I don't store unchanged values. In other words, I need to consider time in my filter...</p>
  
  <p>I've read at <a href="http://www.dspguide.com/" rel="nofollow noreferrer">DSP Guide</a>, but I didn't get much out of it. Is there a tutorial that's pinned specifically at programmers, and not <a href="http://en.wikipedia.org/wiki/Mathcad" rel="nofollow noreferrer">Mathcad</a> engineers? Are there some simple code snippets that could help?</p>
  
  <p><em>Update</em>: After several spreadsheet tests I've taken the executive decision to log all samples, and apply a <a href="http://en.wikipedia.org/wiki/Butterworth_filter" rel="nofollow noreferrer">Butterworth filter</a>.</p>