Return the filter coefficients of a kaiser window of length n.
kaiser(n, beta =0.5)
Arguments
n: Window length, specified as a positive integer.
beta: Shape factor, specified as a positive real scalar. The parameter beta affects the side lobe attenuation of the Fourier transform of the window. Default: 0.5
Returns
Kaiser window, returned as a vector.
Details
The Kaiser, or Kaiser-Bessel, window is a simple approximation of the DPSS window using Bessel functions, discovered by James Kaiser.
The variable parameter β determines the trade-off between main lobe width and side lobe levels of the spectral leakage pattern. Increasing β widens the main lobe and decreases the amplitude of the side lobes (i.e., increases the attenuation).
Examples
k <- kaiser(200,2.5)plot (k, type ="l", xlab ="Samples", ylab =" Amplitude")