<< Chapter < Page | Chapter >> Page > |
Samples of the frequency response Equation 29 from FIR Digital Filters for the filter where is odd, , and , and where there is a frequency sample at is given as
Using the amplitude function , defined in Equation 28 from FIR Digital Filters , of the form [link] and the IDFT [link] gives for the impulse response
or
Because is real, and [link] becomes
Only of the need be calculated because of the symmetries in Equation 27 from FIR Digital Filters .
This formula calculates the impulse response values from the desired frequency samples and requires operations rather than . An interesting observation is that not only are [link] and [link] a pair of analysis and design formulas, they are also a transform pair. Indeed, they are of thesame form as a discrete cosine transform (DCT).
A similar development applied to the cases for even from Equation 36 from FIR Digital Filters gives the amplitude frequency response samples as
with the design formula of
which is of the same form as [link] , except that the upper limit on the summation recognizes as even and equals zero.
The schemes just described use frequency samples at
which are equally-spaced samples starting at . Another possible pattern for frequency sampling that allows designformulas has no sample at , but uses equally-spacedsamples located at
This form of frequency sampling is more difficult to relate to the DFT than the sampling of [link] , but it can be done by stretching and taking a 2N-length DFT [link] .
The two cases for odd and even lengths and the two for samples at zero and not at zero frequency give a total of fourcases for the frequency-sampling design method applied to linear- phase FIR filters of Types 1 and 2, as defined in the section Linear-Phase FIR Filters . For the case of an odd length and no zero sample, the analysisand design formulas are derived in a way analogous to [link] and [link] to give
The design formula becomes
The fourth case, for an even length and no zero frequency sample, gives the analysis formula
and the design formula
These formulas in [link] , [link] , [link] , and [link] allow a very straightforward design of the four frequency-sampling cases. Theyand their analysis companions in [link] , [link] , [link] , and [link] also are the four forms of discrete cosine and inverse-cosine transforms. Matlabprograms which implement these four designs are given in the appendix.
The design of even-symmetric linear-phase FIR filters of Types 1 and 2 in the section Linear-Phase FIR Filters have been developed here. A similar development for the odd-symmetric filters, Types 3 and 4, can easily be performed with theresults closely related to the discrete sine transform. The Type 3 analysis and design results using the frequency sampling scheme of [link] are
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?