Learn R Programming

signal (version 1.8-0)

kaiser: Kaiser window

Description

Returns the filter coefficients of the n-point Kaiser window with parameter beta.

Usage

kaiser(n, beta)

Value

An array of filter coefficients of length(n).

Arguments

n

filter order.

beta

bessel shape parameter; larger beta gives narrower windows.

Author

Original Octave version by Kurt Hornik. Conversion to R by Tom Short.

References

Oppenheim, A. V., Schafer, R. W., and Buck, J. R. (1999). Discrete-time signal processing. Upper Saddle River, N.J.: Prentice Hall.

https://en.wikipedia.org/wiki/Kaiser_window

Octave Forge https://octave.sourceforge.io/

See Also

hamming, kaiserord

Examples

Run this code
plot(kaiser(101, 2), type = "l", ylim = c(0,1))
lines(kaiser(101, 10), col = "blue")
lines(kaiser(101, 50), col = "green")

Run the code above in your browser using DataLab