: Used for noise reduction and equalization, these filters are stable and rely on convolution between an input signal and a set of fixed coefficients. Infinite Impulse Response (IIR) Filters
#include <stdio.h> #include <stdlib.h>
for (i = 0; i < N; i++) sum = 0; for (j = 0; j < N; j++) sum += x[j] * cos(M_PI * (2 * j + 1) * i / (2 * N)); digital media processing dsp algorithms using c pdf
More efficient than FIR but potentially unstable; they use feedback (past output samples) to achieve steeper filter transitions. www.fccdecastro.com.br : Used for noise reduction and equalization, these
temp[i][j] = sum * 0.5;