fdesign.parameq - Parametric equalizer filter specification

Syntax

d = fdesign.parameq(spec, specvalue1, specvalue2, ...)
d = fdesign.parameq(... fs)

Description

d = fdesign.parameq(spec, specvalue1, specvalue2, ...) constructs a parametric equalizer filter design object, where spec is a non-case sensitive specification string. The choices for spec are as follows:

where the parameters are defined as follows:

Regardless of the specification string chosen, there are some conditions that apply to the specification parameters. These are as follows:

d = fdesign.parameq(... fs) adds the input sampling frequency. Fs must be specified as a scalar trailing the other numerical values provided, and is assumed to be in Hz.

Examples

Design a Chebyshev Type II parametric equalizer filter that cuts by 12 dB:

 d = fdesign.parameq('N,Flow,Fhigh,Gref,G0,GBW,Gst',...
       4,.3,.5,0,-12,-10,-1);
 Hd = design(d,'cheby2');
 fvtool(Hd)

The magnitude response is shown in the following figure.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS