Well-known adjustable windows have sidelobe roll-off of either 6 dB/octave (Kaiser, Taylor) or 0 dB/octave (Chebyshev). Win12 provides an adjustable 12 dB/octave window with well-behaved sidelobes.
The adjustment parameter F0 (1 <= F0 <= 3) directly specifies the first null frequency in cycles per window length. The larger F0, the wider the mainlobe and the lower the sidelobes. The thumbnail picture shows win12 with F0 = 2.0, the same first-null frequency as the Hann and Triangle windows. If omitted, F0 is set to 1.5.
Win12 produces unusual-looking windows when F0 < 1.25. These are not erroneous, but this is a region where 6 dB windows are more in their element.
Finally, note that 12 dB windows make good convolutional smoothing filters, compared to a uniform moving average, for example. There’s much less high-frequency content in the result. Win12 can be used as a smoothing filter design function, with F0 controlling the frequency response.
More info on common windows is found in post #46731 “Replacement Window Functions”.
引用格式
Jim (2024). Adjustable Window with 12 dB/Octave Sidelobes (https://www.mathworks.com/matlabcentral/fileexchange/46975-adjustable-window-with-12-db-octave-sidelobes), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!