File Exchange

image thumbnail

WelchWin: Welch (parabolic) window function

version (1.36 KB) by Andrew Davis
The function returns a parabolic window of length n. This is useful for spectral estimation.


Updated 09 Nov 2012

View License

WELCHWIN Welch (parabolic) window

w = welchwin(n) returns the n-point parabolic window

n: scalar window length

w: column vector of window values

t = (0:9)';
s = rand(1,10)';
n = length(s);
w = welchwin(n);
s2 = s.*w;
plot(t, s, 'ko', t, s2, 'r-')
legend('original data', 'windowed data')

See also: RECTWIN

Cite As

Andrew Davis (2019). WelchWin: Welch (parabolic) window function (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

@Leandro: The result is in fact symmetric. Perhaps you're expecting N+1 points, rather than 0 <= i < N? See the definition here:


The result is not symmetric.

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux