DSP Blockset    

Example: Chebyshev Type II Lowpass Filter.   In the model below, the Sine Wave block generates two sinusoids, one at 100 Hz and 400 Hz, each with a frame size of 128 samples. The sinusoids are then summed point-by-point, and the resulting signal is passed through a lowpass IIR filter to attenuate the higher frequency sinusoid. Both signals are displayed on the scope.

To build the model, make the following settings:

Use the default setting in the Spectrum Scope block. As the simulation begins running, right-click in the plot area of the scope, and select Autoscale from the pop-up menu. You can also change the styles and colors of the plotted lines by selecting either CH 1 or CH 2 from the right-click pop-up menu.

The scope window displays both the original signal and the filtered result, which shows the expected attenuation of the 400 Hz component. Stop the simulation at any time by selecting Stop from the Simulation menu.


 Discrete-Time IIR Filters Designing Continuous-Time Classical IIR Filters