In the field of digital communications, a filter is a device that selectively attenuates any unwanted component of a received signal and essentially changes the signal waveform in the desired manner.