<< Chapter < Page | Chapter >> Page > |
The output of a length-N FIR filter can be calculated from the input using convolution.
and the transfer function of an FIR filter is given by the z-transform of the finite length impulse response as
The frequency response of a filter, is found by setting , which is the same as the discrete-time Fourier transform (DTFT) of , which gives
with being frequency in radians per second. Strictly speaking, the exponent should be where is the time interval between the integer steps of (the sampling interval). But to simplify notation, it will be assumed that until later in the notes where the relation between and time is more important. Also to simplify notation, is used to represent the frequency response rather that . It should always be clear from the context whether is a function of or .
This frequency-response function is complex-valued and consists of a magnitude and a phase. Even though the impulseresponse is a function of the discrete variable , the frequency response is a function of the continuous-frequencyvariable and is periodic with period . This periodicity is easily shown by
with frequency denoted by in radians per second or by in Hz (hertz or cycles per second). These are related by
An example of a length-5 filter might be
with a frequency-response plot shown over the base frequency band ( or in [link] . To illustrate the periodic nature of the total frequency response, [link] shows the response over a wider set of frequencies.
The Discrete Fourier Transform (DFT) can be used to evaluate the frequency response at certain frequencies. The DFT [link] of the length-N impulse response is defined as
which, when compared to [link] , gives
for .
This states that the DFT of gives samples of the frequency-response function . This sampling at points may not give enough detail, and, therefore, more samples areneeded. Any number of equally spaced samples can be found with the DFT by simply appending zeros to and taking an L-length DFT. This is often useful when an accurate picture ofall of is required. Indeed, when the number of appended zeros goes to infinity, the DFT becomes the discrete-time Fourier transform of .
The fact that the DFT of is a set of samples of the frequency response suggests a method of designing FIR filters inwhich the inverse DFT of samples of a desired frequency response gives the filter coefficients . That approach is called frequency sampling and is developed in another section.
A particular property of FIR filters that has proven to be very powerful is that a linear phase shift for the frequency response is possible. Thisis especially important to time domain details of a signal. The spectrum of a signal contains the individual frequency domain components separatedin frequency. The process of filtering usually involves passing some of these components and rejecting others. This is done by multiplying thedesired ones by one and the undesired ones by zero. When they are recombined, it is important that the components have the same time domainalignment as they originally did. That is exactly what linear phase insures. A phase response that is linear with frequency keeps all of thefrequency components properly registered with each other. That is especially important in seismic, radar, and sonar signal analysis as wellas for many medical signals where the relative time locations of events contains the information of interest.
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?