kaiser: Kaiser window

View source: R/kaiser.R

kaiserR Documentation

Kaiser window

Description

Return the filter coefficients of a kaiser window of length n.

Usage

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

Details

The Kaiser, or Kaiser-Bessel, window is a simple approximation of the DPSS window using Bessel functions, discovered by James Kaiser.

        besselI(0, Beta * sqrt(1-(2*x/m)^2))
k(x) =  -------------------------------------,  -m/2 <= x <= m/2
        besselO(0, Beta)

The variable parameter \beta determines the trade-off between main lobe width and side lobe levels of the spectral leakage pattern. Increasing \beta widens the main lobe and decreases the amplitude of the side lobes (i.e., increases the attenuation).

Value

Kaiser window, returned as a vector.

Author(s)

Kurt Hornik, Kurt.Hornik@ci.tuwien.ac.at,
Paul Kienzle, pkienzle@users.sf.net.
Conversion to R by Geert van Boxtel G.J.M.vanBoxtel@gmail.com.

Examples


k <- kaiser(200, 2.5)
plot (k, type = "l", xlab = "Samples", ylab =" Amplitude")


gsignal documentation built on Sept. 12, 2024, 6:27 a.m.