softTh: Soft Thresholding estimator

View source: R/sideinfo_lib.R

softThR Documentation

Soft Thresholding estimator

Description

Soft thresholds the input signal y with the threshold value thld

Usage

softTh(y, thld)

Arguments

y

1D signal to be thresholded

thld

numeric threshold value

Value

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

References

Donoho, David L. "De-noising by soft-thresholding." IEEE transactions on information theory 41, no. 3 (1995): 613-627.

Examples

library(asus)
set.seed(42)
y<-rnorm(10,2,1)
thld<- 3
x<-softTh(y,thld)


asus documentation built on Aug. 24, 2023, 5:10 p.m.