File Exchange

image thumbnail


version (2.09 MB) by Paul Mennen
Display and design tool for FFT windows - alternative to wintool.m

1 Download

Updated 10 Nov 2009

View License

---- winplt.m, winplt.chm, winplt.pdf ----
Struggling with Matlab's FFT window display tool (wintool), I found it cumbersome and limited. I wanted a way to quickly change window parameters and see the effect on the time and frequency shapes and the most common window measures (scalloping and processing loss, frequency resolution, and equivalent noise bandwidth). I couldn't modify wintool for my taste since most of the code was hidden (pcode). So I wrote winplt.m to create a more useble gui for displaying windows. Winplt is also a tool for designing your own windows by adjusting the kernel coefficients with a slider.

---- plt.m, plt.chm ----
This is a plotting routine called by winplt.m. To find out more about plt I recommend downloading from the file exchange.

---- HarrisIEEE.pdf ----
This is the most cited reference on FFT windows and includes descriptions of most of the windows plotted by winplt.

---- windowsTalk.pdf ----
Most treatmeants of FFT windows are highly mathematical (such as the included Harris paper). But if you want to understand some of the basic ideas without the pages of mind numbing equations, take a look at the this portion of a signal processing talk I gave many years ago.

Feel free to contact me with any of your questions or ideas about winplt. I can be reached at paul (at) mennen (dot) org.

Cite As

Paul Mennen (2020). winplt (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Paul Mennen

Thanks Brody for pointing this out. Changes to the graphics engine in R2014b or later will cause this filex submission to fail. The good news however is that I have added winplt.m to the demo folder of my other filex submission called "plt". This includes all the documentation for winplt, and also has been updated so that it will run in R2015a. I won't delete this submission however because the Harris windows paper and the windowsTalk.pdf included here are not contained in my plt filex submission.


This crashes on 2015a unfortunately --

Error using figure
While setting the 'Number' property of Figure:
Value must be a scalar double or the empty matrix

Error in plt (line 2525)
else FIG = figure('menu','none','number','off','Back','off','vis','of');

Error in winplt (line 84) = plt(0,zeros(1,6),'FigName','winplt (FFT window shapes)',..

Mark Brown

Excellent program. The user interface is chock-full of handy features. Be sure to browse the help file to understand all of its capabilities. For definitions of the figures of merit, users should consult "On the use of Windows for Harmonic Analysis with the DFT" by Fredric J. Harris, IEEE Vol 66. No. 1, Jan 1978.


Sorry to those of you who downloaded this yesterday. I had updated all the files except the most important one - winplt.m. Should be fine now however

Greatly enhanced the fft window design features of the program. Also I now have included the famous Harris IEEE windowing paper (which I can do because it is not copyright protected).

Minor updates to remain compatible with the latest version of the plt plotting utility

Modified so that it will still run without the signal processing toolbox. Added the Taylor window. Changed names of the window parameters for clarity.

Documentation update - improved descriptions of window performance parameters (scalloping loss, worst case processing loss, frequency resolution, equivalent noise bandwidth).

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