Skip to main content

hann_window

Function hann_window 

Source
pub fn hann_window(
    n: usize,
    p: usize,
    rm: RoundingMode,
    cc: &mut Consts,
) -> Option<ExactNumArray>
Expand description

Symmetric Hann: ½(1 − cos(2πk/(n−1))). n = 1 is [1].

The plan wrote 2πk/N (periodic). The locked gold hann_window(4) = [0, 3/4, 3/4, 0] is the symmetric form.