Skip to contents

Convolves x with a normalised Hann (raised-cosine) window of length window. Less ringing than the boxcar.

Usage

morie_dsp_hann_filter(x, window = 5L)

Arguments

x

Numeric vector.

window

Window length. Default 5.

Value

Smoothed vector, length(x).

References

Rangayyan & Krishnan (2015), Ch. 3.