Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 filter kFilter that uses a Kaiser window. For kaiserwin to 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. kaiserwin returns 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, use designopts with the specification object and the design method as input arguments as shown.

designopts(d,'method')

For complete help about using kaiserwin, refer to the command line help system. For example, to get specific information about using kaiserwin with d, 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',true)
hbFilter = 

  dsp.FIRFilter with properties:

            Structure: 'Direct form'
      NumeratorSource: 'Property'
            Numerator: [1x201 double]
    InitialConditions: 0

  Use get to show all properties

fvtool(hbFilter);

In this example, kaiserwin uses an interpolating filter specification object.

d = fdesign.interpolator(4,'lowpass');
interpFilter= design(d,'kaiserwin','SystemObject',true)
interpFilter = 

  dsp.FIRInterpolator with properties:

        NumeratorSource: 'Property'
              Numerator: [1x147 double]
    InterpolationFactor: 4

  Use get to show all properties

fvtool(interpFilter);

See Also

|

Introduced in R2011a

Was this topic helpful?