generate
Class: sigwin.tukeywin
Namespace: sigwin
Generates Tukey window
Syntax
win = generate(H)
Description
win = generate(H)
returns the values of
the Tukey window object H
as a double-precision
column vector.
Examples
Tukey Windows
Generate two Tukey windows of length N = 64:
The first window has α = 1/4. α is the ratio of tapered window section length to constant section length.
The second window has α = 3/4.
Display the two windows.
H14 = sigwin.tukeywin(64,1/4); H34 = sigwin.tukeywin(64,3/4); wvt = wvtool(H14,H34); legend(wvt.CurrentAxes,'\alpha = 1/4','\alpha = 3/4')
Generate a Tukey window with length N = 16 and the default α = 1/2. Return its values as a column vector. Show information about the window object. Display the window.
H = sigwin.tukeywin(16); win = generate(H)
win = 16×1
0
0.1654
0.5523
0.9045
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
⋮
wininfo = info(H)
wininfo = 4x13 char array
'Tukey Window '
'------------ '
'Length : 16 '
'Alpha : 0.5'
wvtool(H)
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)