Hamming window
Return the filter coefficients of a Hamming window of length n
.
hamming(n, method = c("symmetric", "periodic"))
n |
Window length, specified as a positive integer. |
method |
Character string. Window sampling method, specified as:
|
The Hamming window is a member of the family of cosine sum windows.
Hamming window, returned as a vector. If you specify a one-point
window (n = 1)
, the value 1 is returned.
Andreas Weingessel, Andreas.Weingessel@ci.tuwien.ac.at.
Conversion to R by Geert van Boxtel G.J.M.vanBoxtel@gmail.com.
h <- hamming(64) plot (h, type = "l", xlab = "Samples", ylab =" Amplitude") hs = hamming(64,'symmetric') hp = hamming(63,'periodic') plot (hs, type = "l", xlab = "Samples", ylab =" Amplitude") lines(hp, col="red")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.