This is a pseudo-mirror of www.bores.com DSP intro at http://www.bores.com/courses/intro/program/7_filter.htm [sic] as per the policy of this site.
This mirror was created from the source on 03/08/2000 at 22:46 Central Time.
Commercial information, time-dependent information, and all the damn JAVA scripts have been removed. All "htm" extensions have been changed to the proper "html" extensions. Has also been edited for
coherence, proper-linkage, and better document flow.
Copied without permission.
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:
| Last updated: 13th January 1997 | http://www.bores.com/courses/intro/program/7_filter.htm