Main Content

kaiserwin

Kaiser window filter from specification object

Syntax

h = design(d,'kaiserwin')
h = design(d,'kaiserwin',Name,Value)

Description

h = design(d,'kaiserwin') designs a digital filter using 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.

h = design(d,'kaiserwin',Name,Value) returns a filter designed with the Kaiser window technique and with design options specified as Name,Value pairs.

To determine the available design options, use designmethods 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

Design a direct-form FIR filter starting from the default lowpass filter specification object. Use a Kaiser window for the design. Visualize the magnitude response.

d = fdesign.lowpass;
Hd = design(d,'kaiserwin');

freqz(Hd)

Figure contains 2 axes objects. Axes object 1 with title Phase, xlabel Normalized Frequency (\times\pi rad/sample), ylabel Phase (degrees) contains an object of type line. Axes object 2 with title Magnitude, xlabel Normalized Frequency (\times\pi rad/sample), ylabel Magnitude (dB) contains an object of type line.

Version History

Introduced in R2009a

See Also

Apps

Functions