Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Frequency sampling-based FIR filter design

returns
an `b`

= fir2(`n`

,`f,m`

)`n`

th-order FIR filter with frequency-magnitude
characteristics specified in the vectors `f`

and `m`

.
The function linearly interpolates the desired frequency response
onto a dense grid and then uses the inverse Fourier transform and
a Hamming window to obtain the filter coefficients.

[1] Mitra, Sanjit K. *Digital Signal Processing:
A Computer Based Approach*. New York: McGraw-Hill, 1998.

[2] Jackson, L. B. *Digital Filters and Signal
Processing*. 3rd Ed. Boston: Kluwer Academic Publishers,
1996.

Was this topic helpful?