View source: R/blackmanharris.R
blackmanharris | R Documentation |
Return the filter coefficients of a minimum four-term Blackman-Harris window.
blackmanharris(n, method = c("symmetric", "periodic"))
n |
Window length, specified as a positive integer. |
method |
Character string. Window sampling method, specified as:
|
The Blackman window is a member of the family of cosine sum windows. It is a generalization of the Hamming family, produced by adding more shifted sinc functions, meant to minimize side-lobe levels.
Blackman-Harris window, returned as a vector.
Sylvain Pelissier, sylvain.pelissier@gmail.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
b <- blackmanharris(64)
plot (b, type = "l", xlab = "Samples", ylab =" Amplitude")
bs = blackmanharris(64,'symmetric')
bp = blackmanharris(63,'periodic')
plot (bs, type = "l", xlab = "Samples", ylab =" Amplitude")
lines(bp, col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.