image thumbnail

WelchWin: Welch (parabolic) window function

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

526 Downloads

Updated 09 Nov 2012

View License

WELCHWIN Welch (parabolic) window

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

n: scalar window length

w: column vector of window values

Example:
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 (2021). WelchWin: Welch (parabolic) window function (https://www.mathworks.com/matlabcentral/fileexchange/38978-welchwin-welch-parabolic-window-function), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!