Learn R Programming

Convolutioner (version 0.1.0)

Hann: Hann window filter.

Description

This function return the data smoothed using the an Hann window filter. Data are smoothed using a cosine window.

Usage

Hann(raw_data, buffer_size = 5)

Arguments

raw_data

Data upon which the algorithm is applied

buffer_size

number of points the algorithm use to compute the coefficients of the Hann window

Value

Smoothed data using Hann Window filter

Examples

Run this code
# NOT RUN {
raw_data = c(1:100)
smoothed_data = Hann(raw_data)

# }

Run the code above in your browser using DataLab