This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

kbdwin

Kaiser-Bessel-derived window

Syntax

wdw = kbdwin(N)
wdw = kbdwin(N,Beta)

Description

example

wdw = kbdwin(N) returns an N-point Kaiser-Bessel-derived (KBD) window.

example

wdw = kbdwin(N,Beta) specifies the tuning parameter, Beta.

Examples

collapse all

Create a 1024-point Kaiser-Bessel-derived (KBD) window. Visualize the KBD window in the time and frequency domains using wvtool.

wdw = kbdwin(1024);
wvtool(wdw)

Create three 512-point KBD windows, with Beta set to 1, 10, and 100. Display the windows for comparison using wvtool.

N = 512;
beta1 = kbdwin(N,1);
beta10 = kbdwin(N,10);
beta100 = kbdwin(N,100);

wvtool(beta1,beta10,beta100)

Input Arguments

collapse all

Number of points in the KBD window, specified as an even positive integer scalar.

Data Types: single | double

Tuning parameter, specified as a nonnegative real scalar. If unspecified, Beta defaults to 5.

Data Types: single | double

Output Arguments

collapse all

Kaiser-Bessel-derived window, returned as an N-point column vector.

Algorithms

The coefficients of a Kaiser-Bessel-derived window are computed using the equation:

wdw[n] ={i=1nw[i]i=1N2+1w[i]if1n<(N2)i=1Nnw[i]i=1N2+1w[i]if(N2+1)n<N

where w is a Kaiser window designed using the kaiser function:

w = kaiser(N/2+1,Beta*pi)
where N is the number of points in the KBD window and Beta is the tuning parameter.

References

[1] Bosi, Marina, and Richard E. Goldberg. Introduction to Digital Audio Coding and Standards. Dordrecht: Kluwer, 2003.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

| |

Introduced in R2019a