Signal Processing Toolbox |
Step 2: Designing a Filter
You can import an existing filter into SPTool, or you can design and edit a new filter using the Filter Designer.
Opening the Filter Designer
To open the Filter Designer, press the New button in SPTool. This opens the Filter Designer with a default filter named filt1
.
Specifying the Bandpass Filter
Design an equiripple bandpass FIR filter with the following characteristics:
To modify your filter in the Filter Designer to meet these specifications:
Equiripple
FIR
from the Algorithm list.
bandpass
from the Type list.
750
for Fp1 and 1250
for Fp2.
500
for Fs1 and 1500
for Fs2.
0.01
into the Rp field and 75
into the Rs field.
Note You can use the solid line in the plot to modify your filter design. See Redesigning a Filter Using the Magnitude Plot for more information. |
Step 1: Importing a Signal into SPTool | Step 3: Applying a Filter to a Signal |
© 1994-2005 The MathWorks, Inc.