Main Content

kaiserwin

Kaiser window filter from specification object

Syntax

kFilter = design(d,'kaiserwin','SystemObject',true)
kFilter = design(d,'kaiserwin',designoption,value,designoption,...
value,'SystemObject',true)

Description

kFilter = design(d,'kaiserwin','SystemObject',true)designs a digital filterkFilterthat uses a Kaiser window. Forkaiserwinto work properly, the filter order in the specifications object must be even. In addition, higher order filters (filter order greater than 120) tend to be more accurate for smaller transition widths.kaiserwinreturns a warning when your filter order may be too low to design your filter accurately.

kFilter = design(d,'kaiserwin',designoption,value,designoption,...
value,'SystemObject',true)
returns a filter where you specify design options as input arguments and the design process uses the Kaiser window technique.

To determine the available design options, usedesignoptswith the specification object and the design method as input arguments as shown.

designopts(d,'method')

For complete help about usingkaiserwin, refer to the command line help system. For example, to get specific information about usingkaiserwinwithd, the specification object, enter the following at the MATLAB prompt.

help(d,'kaiserwin')

Examples

collapse all

This example designs a direct form FIR filter from a halfband filter specification object.

d = fdesign.halfband('n,tw',200,0.01); hbFilter = design(d,'kaiserwin','filterstructure','dffir',...'SystemObject',真正的)
hbFilter = dsp.FIRFilter with properties: Structure: 'Direct form' NumeratorSource: 'Property' Numerator: [0 -0.0028 0 0.0029 0 -0.0030 0 0.0030 0 -0.0031 ... ] InitialConditions: 0 Show all properties
fvtool(hbFilter);

Figure Magnitude Response (dB) contains an axes object. The axes object with title Magnitude Response (dB) contains 2 objects of type line.

In this example,kaiserwinuses an interpolating filter specification object.

d = fdesign.interpolator(4,'lowpass'); interpFilter= design(d,'kaiserwin','SystemObject',真正的)
interpFilter = dsp.FIRInterpolator with properties: InterpolationFactor: 4 NumeratorSource: 'Property' Numerator: [3.4579e-04 2.6057e-04 -4.2478e-05 -4.6005e-04 ... ] Show all properties
fvtool(interpFilter);

Figure Magnitude Response (dB) contains an axes object. The axes object with title Magnitude Response (dB) contains 2 objects of type line.

版本历史

Introduced in R2011a

See Also

|