
4 Filter Design with the FDATool GUI
4-16
Exporting Filters from FDATool
FDATool provides a simple way to create filter objects (dfilts) from your filter designs.
This is particularly useful for saving your filter design to the MATLAB workspace for use
with command line functions. You can also save your filters as MATLAB code by using
File > Generate MATLAB code to run in scripts or batch files.
1
In FDATool, click Filter Manager and highlight only the Bandpass
Butterworth-1 filter.
2
Select File > Export.
3
Set Export to to Workspace. Set Export as to Objects. In Discrete Filter type
Hd1. Click Export to export the first filter in your filter bank to an Hd1 dfilt object
in the workspace.
4
Repeat steps 1 through 3 for each of the remaining nine filters. Highlight each filter
individually to make it the active filter and change the Discrete Filter name to
match the filter number. When you finish you will have 10 dfilt objects in the
workspace.
5
Close FDATool by selecting File > Close.
6
On the MATLAB command line, verify that your objects were exported by using the
whos command.
Kommentare zu diesen Handbüchern