| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Toolbox |
| Contents | Index |
| Learn more about Signal Processing Toolbox |
Filterbuilder presents the option of designing a filter using a GUI dialog box as opposed to the command line instructions. You can use Filterbuilder to design the same bandpass filter designed in the previous section, Basic Filter Design Process
Example — Using Filterbuilder to Design a Simple Filter
To design the filter using FilterBuilder:
Type the following at the MATLAB prompt:
filterbuilder
The dialog box using the Filter Design Toolbox software appears as follows:

The dialog box using only the Signal Processing Toolbox software appears as follows:

Select Bandpass filter response from the list in the dialog box, and hit the OK button. The following dialog box opens:

Enter the correct frequencies for Fpass2 and Fstop2, as shown in the preceding figure, then click OK. Here the specification uses normalized frequency, so that the passband and stopband edges are expressed as a fraction of the Nyquist frequency (in this case, 48/2 kHz). The following message appears at the MATLAB prompt:
The variable 'Hbp' has been exported to the command window.
If you display the Workspace tab, as shown in the following figure, you see the object Hbp has been placed on your workspace.

To check your work, plot the filter magnitude response using the Filter Visualization tool. Verify that all the design parameters are met:
fvtool(Hbp) %plot the filter magnitude response

Note that the dashed red lines on the preceding figure will only appear if you are using the Filter Design Toolbox software.
![]() | Basic Filter Design Process | Filter Design with the FDATool GUI | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |