softTh {asus} | R 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)
[Package asus version 1.5.0 Index]