DSP Blockset    

Example: Using the Digital Filter Design Block to Design, Analyze, and Implement a Filter

In the following model, a lowpass filter filters out high-frequency noise from a noisy sine wave. The high-frequency noise is output by a highpass filter excited by a uniform random signal.

Digital Filter Design blocks were used to design and implement the lowpass and highpass filters. The Vector Scope's display shows the original sine wave, the noisy sine wave, and the filtered noisy sine wave for comparison.

Model Using the Digital Filter Design Block to Implement Filters

Vector Scope Display After Running the Model

To build the model yourself, complete the following steps:


  Filter Design, Analysis, and Implementation with the Digital Filter Design Block Step 1 -- Get Necessary Blocks