Learn R Programming

spectral (version 2.0)

win.tukey: Tukey window function

Description

This window function returns a vector of weights with means of a Tukey-window. In contrast to a cosine window this function is more steep at the beginning and the end. And it is 1 in the middle.

Usage

win.tukey(n, a = 0.5)

Arguments

n

data vector to be windowed

a

width of the rising and falling edge as ratio of the total data length

See Also

Windowfunctions