rectwin | R Documentation |
Return the filter coefficients of a rectangular window of length n
.
rectwin(n)
n |
Window length, specified as a positive integer. |
The output of the rectwin function with input n
can also be created
using the rep
function: w <- rep(1L, n)
rectangular window, returned as a vector.
Sylvain Pelissier, sylvain.pelissier@gmail.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
boxcar
r <- rectwin(64)
plot (r, type = "l", xlab = "Samples", ylab =" Amplitude", ylim = c(0, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.