moving_average: Calculate the moving average of a vector.

Description Usage Arguments Value

Description

Calculate the moving average of a vector.

Usage

1
moving_average(x, n = 10)

Arguments

x

A vector with data.

n

Window width in samples.

Value

The data in x, averaged in a window of width n.


bwrc/colibri documentation built on May 13, 2019, 9:10 a.m.