This is a pseudo-mirror of www.bores.com DSP intro at http://www.bores.com/courses/intro/filters/4_def.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.
Filtering is a process of selecting, or suppressing, certain frequency components of a signal.
A coffee filter allows small particles to pass while trapping the larger grains. A digital filter does a similar thing, but with more subtlety. The digital filter allows to pass certain frequency components of the signal: in this it is similar to the coffee filter, with frequency standing in for particle size. But the digital filter can be more subtle than simply trapping or allowing through: it can attenuate, or suppress, each frequency components by a desired amount. This allows a digital filter to shape the frequency spectrum of the signal.
Filtering is often, though not always, done to suppress noise. It depends on the signal's frequency spectrum being different from that of the noise:
The diagram shows how how a noisy sine wave viewed as a time domain signal cannot be clearly distinguished from the noise. But when viewed as a frequency spectrum, the sine wave shows as a single clear peak while the noise power is spread over a broad frequency spectrum.
By selecting only frequency components that are present in the signal, the noise can be selectively suppressed:
The diagram shows how a noisy sine wave may be 'cleaned up' by selecting only a range of frequencies that include signal frequency components but exclude much of the noise:
| Last updated: 10th January 2000 | http://www.bores.com/courses/intro/filters/4_def.htm