powered by
Return the filter coefficients of a Parzen window of length n.
n
parzenwin(n)
Parzen window, returned as a vector.
Window length, specified as a positive integer.
Sylvain Pelissier, sylvain.pelissier@gmail.com. Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
Parzen windows are piecewise-cubic approximations of Gaussian windows.
p <- parzenwin(64) g <- gausswin(64) plot (p, type = "l", xlab = "Samples", ylab =" Amplitude", ylim = c(0, 1)) lines(g, col = "red")
Run the code above in your browser using DataLab