Learn R Programming

Convolutioner (version 0.1.0)

Hamming: Hamming window filter.

Description

This function return the data smoothed using the an Hamming window filter. Data are smoothed using a cosine window with particular coefficients.

Usage

Hamming(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 = Hamming(raw_data)

# }

Run the code above in your browser using DataLab