Signal Toolkit - welchwin


Function File: welchwin (m)
Function File: welchwin (m, "periodic")
Function File: welchwin (m, "symmetric")

Return the filter coefficients of a Welch window of length m. The Welch window is given by w(n)=1-(n/N-1)^2, n=[0,1, ... m-1]. The optional argument specifies a "symmetric" window (the default) or a "periodic" window.

A symmetric window has zero at each end and maximum in the middle, and the length must be an integer greater than 2. The variable N in the formula above is (m-1)/2.

A periodic window wraps around the cyclic interval [0,1, ... m-1], and is intended for use with the DFT. The length must be an integer greater than 1. The variable N in the formula above is m/2.

See also: blackman, kaiser.