Several filtering algorithms for filtering out specific harmonics are implemented in C language