deadbandAD: deadbandAD Function

Description Usage Arguments Value Examples

View source: R/deadbandAD.R

Description

This function allows you to compute the Absolute Deadband(AD) algorithm

Usage

1
deadbandAD(x, EUmax, EUmin, d, offset)

Arguments

x

The vector of the samples before the deadband algorithm

EUmax

The Engineering Unit higher bound

EUmin

The Engineering Unit lower bound

d

Deadband percent parameter in range 0..1

offset

How many sample do you want skip at begin? Defaults is n=20

Value

A list containing the L2 distance and the Number of filtered samples

Examples

1
deadbandAD(rnorm(40, mean = 0, sd = 1),+0.5,-0.5,0.01,20)

deadband documentation built on May 2, 2019, 6:02 a.m.