parzenwin {gsignal}R Documentation

Parzen (de la Vallée Poussin) window

Description

Return the filter coefficients of a Parzen window of length n.

Usage

parzenwin(n)

Arguments

n

Window length, specified as a positive integer.

Details

Parzen windows are piecewise-cubic approximations of Gaussian windows.

Value

Parzen window, returned as a vector.

Author(s)

Sylvain Pelissier, sylvain.pelissier@gmail.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.

Examples


p <- parzenwin(64)
g <- gausswin(64)
plot (p, type = "l", xlab = "Samples", ylab =" Amplitude", ylim = c(0, 1))
lines(g, col = "red")


[Package gsignal version 0.3-5 Index]