window
Window function gateway
Syntax
window
w = window(fhandle,n)
w = window(fhandle,n,winopt
)
Description
window
opens the Window Designer app.
w = window(fhandle,n)
returns
the n
-point window, specified by its function handle, fhandle
,
in column vector w
. Function handles are window
function names preceded by an @.
@barthannwin |
@bartlett |
@blackman |
@blackmanharris |
@bohmanwin |
@chebwin |
@flattopwin |
@gausswin |
@hamming |
@hann |
@kaiser |
@nuttallwin |
@parzenwin |
@rectwin |
@taylorwin |
@triang |
@tukeywin |
Note
For chebwin
, kaiser
, and
tukeywin
, you must include a window parameter using the next
syntax.
For more information on each window function and its option(s), refer to its reference page.
w = window(fhandle,n,
returns the window specified by its function handle, winopt
)fhandle
, and its
winopt
value or sampling descriptor. For
chebwin
, kaiser
, and
tukeywin
, you must enter a winopt
value. For the other windows listed in the following table,
winopt
values are optional.
Window |
|
|
---|---|---|
window sampling |
| |
sidelobe attenuation relative to mainlobe | numeric | |
window sampling |
| |
alpha value (reciprocal of standard deviation) | numeric | |
window sampling |
| |
window sampling |
| |
beta value | numeric | |
1. number of sidelobes 2. maximum sidelobe level in dB relative to mainlobe peak | 1. integer greater than or equal to 1 2. negative value | |
ratio of taper to constant sections | numeric |
Examples
Extended Capabilities
Version History
Introduced before R2006aSee Also
barthannwin
| bartlett
| blackman
| blackmanharris
| bohmanwin
| chebwin
| flattopwin
| gausswin
| hamming
| hann
| kaiser
| nuttallwin
| parzenwin
| rectwin
| triang
| taylorwin
| tukeywin