Design a Filter Using Filter Builder
Filter Builder presents the option of designing a filter using a GUI dialog box as opposed to the command line instructions. You can use Filter Builder to design the same bandpass filter designed in the previous section, Design a Filter Using fdesign
To design the filter using the Filter Builder GUI:
Type the following at the MATLAB® prompt:
filterBuilder
Select
Bandpassfilter response from the list in the dialog box, and hit the OK button.Enter the correct frequencies for Fpass2 and Fstop2, 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:
If you display the Workspace tab, you see the objectThe variable 'Hbp' has been exported to the command window.
Hbphas been placed on your workspace.