| DSP Blockset | ![]() |
Creating a Highpass Filter
The Digital Filter Design block, located in the DSP Blockset Filter Designs library, is useful for designing and implementing a digital FIR or IIR filter. In this example, you create a highpass filter using the Digital Filter Design block. To implement a filter you already designed, see Digital Filter Block:
The block now implements a highpass filter with a direct form FIR transpose structure. As the wpass and wstop settings indicate, the filter passes all frequencies greater than or equal to 50% of the Nyquist frequency (half the sampling frequency), and stops frequencies less than or equal to 20% of the Nyquist frequency.
Note that this highpass filter is the "opposite" of the lowpass filter described in Creating a Lowpass Filter. The highpass filter passes the frequencies stopped by the lowpass filter, and stops the frequencies passed by the lowpass filter. In the next topic, you learn how to build a model where the lowpass filter filters out the high-frequency noise output by this highpass filter.
To learn how to create a model capable of filtering high frequency noise, see Filtering High-Frequency Noise.
| Creating a Lowpass Filter | Filtering High-Frequency Noise | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |