threshold: Threshold Input Signal

thresholdR Documentation

Threshold Input Signal

Description

Thresholds the input signal y with the threshold value thld.

Usage

hardTh(y, thld)
softTh(y, thld)

Arguments

y

1D or 2D signal to be thresholded

thld

numeric threshold value to be applied

Value

Returns numeric vector of thresholded values of the same length as y.

Author(s)

P. Roebuck proebuck1701@gmail.com

References

D.L. Donoho
De-noising via Soft-Thresholding
Tech. Rept. Statistics, Stanford (1992)

Examples

sig <- makesig(SIGNAL.WERNER.SORROWS, 8)
thld <- 1
x <- hardTh(sig$x, thld)

rwt documentation built on June 14, 2022, 5:07 p.m.

Related to threshold in rwt...