filterbuilder

GUI-based filter design

Syntax

filterbuilder(h)
filterbuilder('response')

Description

filterbuilder starts a GUI-based tool for building filters. It relies on the fdesign object-object oriented filter design paradigm, and is intended to reduce development time during the filter design process. filterbuilder uses a specification-centered approach to find the best algorithm for the desired response.

    Note:   You must have the Signal Processing Toolbox™ installed to use fdesign and filterbuilder. Some of the features described below may be unavailable if your installation does not additionally include the DSP System Toolbox™. You can verify the presence of both toolboxes by typing ver at the command prompt.

The filterbuilder GUI contains many features not available in FDATool. For more information on how to use filterbuilder, see Filterbuilder Design Process.

To use filterbuilder, enter filterbuilder at the MATLAB® command line using one of three approaches:

  • Simply enter filterbuilder. MATLAB opens a dialog for you to select a filter response type. After you select a filter response type, filterbuilder launches the appropriate filter design dialog box.

  • Enter filterbuilder(h), where h is an existing filter object. For example, if h is a bandpass filter, filterbuilder(h) opens the bandpass filter design dialog box. (The h object must have been created using filterbuilder or must be a dfilt ,mfilt, or filter System object created using fdesign.)

      Note:   You must have the DSP System Toolbox software to create and import filter System objects.

  • Enter filterbuilder('response'), replacing response with a response string from the following table. MATLAB opens a filter design dialog that corresponds to the response string.

    Note:   You must have the DSP System Toolbox software to implement a number of the filter designs listed in the following table. If you only have the Signal Processing Toolbox software, you can design a limited set of the following filter-response types.

Response StringDescription of Resulting Filter DesignFilter Object
arbgrpdelayArbitrary group delay filter designfdesign.arbgrpdelay
arbmagArbitrary magnitude filter designfdesign.arbmag
arbmagnphaseArbitrary response filter (magnitude and phase)fdesign.arbmagnphase
audioweightingAudio weighting filterfdesign.audioweighting
bandpass or bpBandpass filterfdesign.bandpass
bandstop or bsBandstop filterfdesign.bandstop
cicCIC filterfdesign.decimator(M,'cic',...) or fdesign.interpolator(L,'cic',...)
See fdesign.decimator and fdesign.interpolator
ciccompCIC compensatorfdesign.ciccomp
combComb filterfdesign.comb
diffDifferentiator filterfdesign.differentiator
fracdelayFractional delay filterfdesign.fracdelay
halfband or hbHalfband filterfdesign.halfband
highpass or hpHighpass filterfdesign.highpass
hilbHilbert filterfdesign.hilbert
isinc,
isinclp, or
isinchp
Inverse sinc lowpass or highpass filterfdesign.isinclp and
fdesign.isinchp
lowpass or lpLowpass filter (default)fdesign.lowpass
notchNotch filterfdesign.notch
nyquistNyquist filterfdesign.nyquist
octaveOctave filterfdesign.octave
parameqParametric equalizer filterfdesign.parameq
peakPeak filterfdesign.peak

    Note:   Because they do not change the filter structure, the magnitude specifications and design method are tunable when using filterbuilder.

Filterbuilder Design Panes

 Main Design Pane

 Data Types Pane

 Code Generation Pane

Filter Responses

Select your filter response from the filterbuilder Response Selection main menu.

If you have the DSP System Toolbox software, the following Response Selection menu appears.

Select your desired filter response from the menu and design your filter.

The following sections describe the options available for each response type.

Arbitrary Response Filter Design Dialog Box — Main Pane

 Filter specifications

 Response Specification

 Band Properties

 Algorithm

 Filter implementation

Audio Weighting Filter Design Dialog Box — Main Pane

 Filter specifications

 Algorithm

 Filter implementation

Bandpass Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Bandstop Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

CIC Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Filter implementation

CIC Compensator Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Comb Filter Design Dialog Box—Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Differentiator Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Fractional Delay Filter Design Dialog Box — Main Pane

 Frequency specifications

Halfband Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Highpass Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Hilbert Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Inverse Sinc Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Lowpass Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Notch

See Peak/Notch Filter Design Dialog Box — Main Pane.

Nyquist Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Octave Filter Design Dialog Box — Main Pane

 Filter specifications

 Algorithm

 Filter implementation

Parametric Equalizer Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Gain specifications

 Algorithm

 Filter implementation

Peak/Notch Filter Design Dialog Box — Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Pulse-shaping Filter Design Dialog Box—Main Pane

 Filter specifications

 Frequency specifications

 Magnitude specifications

 Algorithm

 Filter implementation

Was this topic helpful?