Learn R Programming

rhosa (version 0.2.0)

.hann_window: Hann window function

Description

Calculate $$\frac{1 - \cos(2 * \pi * x)}{2}.$$

Usage

.hann_window(x)

Arguments

x

A real number in [0, 1].

Value

A real number in [0, 1].

See Also

.hamming_window and .blackman_window.