Quote:
Originally Posted by kearnel
I've been reading and trying to understand these algorithms but it appears that I need to understand calculus. I can't find anything that I can understand.
Edit: I'm wondering If there are any websites that explain filtering without using crazy-looking math to do it.
|
Here's a very very simple "hello world" low-pass filter that will reduce noise (but also introduce delay):
new_filtered_value = f*previous_filtered_value + (1-f)*newly_read_value;
f is a tuning parameter between 0 and 1.
when f is zero, you get no filtering:
new_filtered_value = newly_read_value;
as you increase f from 0 towards 1, the filtering gets more aggressive.