blackman {gsignal} | R Documentation |
Blackman window
Description
Return the filter coefficients of a Blackman window.
Usage
blackman(n, method = c("symmetric", "periodic"))
Arguments
n |
Window length, specified as a positive integer. |
method |
Character string. Window sampling method, specified as:
|
Details
The Blackman window is a member of the family of cosine sum windows.
Value
Blackman window, returned as a vector.
Author(s)
Andreas Weingessel, Andreas.Weingessel@ci.tuwien.ac.at.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
Examples
h <- blackman(64)
plot (h, type = "l", xlab = "Samples", ylab =" Amplitude")
bs = blackman(64,'symmetric')
bp = blackman(63,'periodic')
plot (bs, type = "l", xlab = "Samples", ylab =" Amplitude")
lines(bp, col="red")
[Package gsignal version 0.3-5 Index]