Main Content


Kaiser window filter from specification object


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


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,...
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.


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.



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',...
hbFilter = 
  dsp.FIRFilter with properties:

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

  Show all properties


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

  Show all properties


See Also


Introduced in R2011a