hann
Apply a hann (hanning) window
Syntax
y = hann ( x )
y = x.hann ( )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
x | audio or vector | Signal to apply the windowing to | n/a |
Outputs / Return Value
y:yisxwith a hanning window applied.
Examples
hann(ones(128)) or ones(128).hann: 128-pt hann window
hann(dc(100)) or dc(100).hann: 100-ms hann window
hann(tone(500,100)) or tone(500,100).hann: hann window applied to a 500-Hz, 100-ms tone
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.