Created
May 9, 2015 17:13
-
-
Save kkmonster/8b7129fe9a1001e48fcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float Smooth_filter(float alfa, float new_data, float prev_data) | |
{ | |
float output = prev_data + (alfa * (new_data - prev_data)); | |
return output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment