powered by
Apply hard threshold.
HardThresh(y, t)
vector $y$ thresholded: entries below $t$ are replaced by zeros.
vector
threshold
Marc Raimondo
Raimondo, M. and Stewart, M. (2007), "The WaveD Transform in R", Journal of Statistical Software.
WaveD
HardThresh(1:5,2)
Run the code above in your browser using DataLab