Open Window Visualization Tool
H = wvtool(...)
wvtool(WindowVector) opens the Window Visualization Tool (WVTool) with time and frequency domain plots of the window vector specified in WindowVector. WindowVector must be a real-valued row or column vector. By default, the frequency domain plot is the magnitude squared of the Fourier transform of the window vector in decibels (dB). You can generate window vectors for a number of common window functions using the Signal Processing Toolbox™ software. See window for a list of supported window functions.
wvtool(WindowVector1,WinObj1,...,WinObjN,WindowVectorN) opens WVTool with time and frequency domain plots of the window vectors or window objects specified in WindowVector1,WinObj1,...,WinObjN, WindowVectorN.
Note A related tool, wintool, is available for designing and analyzing windows.
Note If you launch WVTool from FDATool, an Add/Replace icon, which controls how new windows are added from FDATool, appears on the toolbar.
In addition to the usual menus items, wvtool contains these wvtool-specific menu commands:
Export — Exports the displayed plot(s) to a graphic file.
Copy figure — Copies the displayed plot(s) to the clipboard (available only on Windows platforms).
Copy options — Displays the Preferences dialog box (available only on Windows platforms).
Figure, Axes, and Current Object Properties — Displays the Property Editor.
Time domain — Check to show the time domain plot.
Frequency domain — Check to show the frequency domain plot.
Legend — Toggles the window name legend on and off. This option is also available with the Legend toolbar button.
You can also access the Analysis Parameters by right-clicking the x-axis label of a plot in the Window Viewer panel.
You use the Insert menu to add labels, titles, arrows, lines, text, and axes to your plots.
Edit Plot — Turns on plot editing mode
Zoom In — Zooms in along both x- and y-axes.
Zoom X — Zooms in along the x-axis only. Drag the mouse in the x direction to select the zoom area.
Zoom Y — Zooms in along the y-axis only. Drag the mouse in the y direction to select the zoom area.
Full View — Returns to full view.
Compare Hamming, Hann, and Gaussian windows:
Compare Kaiser window objects with different beta values:
H = sigwin.kaiser(128,1.5); % Kaiser window with beta=4.5 H1 = sigwin.kaiser(128,4.5); wvtool(H,H1)