This web site uses Javascript. We use Javascript to improve the user's experience and to enable better maintenance of our site.To be able to view this site properly it is necessary to either enable Javascript or click on allow blocked contentWe promise that we do not:
The simple FIR filter equation:
can be implemented quite directly in C language:
y[n] = 0.0;for (k = 0; k < N; k++)y[n] = y[n] + c[k] * x[n-k];
But this naive code is inefficient:
The code is inefficient because: