W = tukeywin(M)
W = tukeywin(M, r)
| Parameter | Description |
|---|---|
| M | window length. |
| r | taper ratio. |
| Parameter | Description |
|---|---|
| W | column vector containing the window. |
tukeywin returns a tapered cosine window.
w = tukeywin(6, 0.5);
| Version | Description |
|---|---|
| 2.0.0 | initial version |