powered by
Apply Hard Threshold
HardThresh(y, t)
A numeric vector with entries
\(x_i = y_i \mathbf{1}_{\{|y_i| > t\}}\).
Noisy Data.
Threshold.
SoftThresh.
SoftThresh
f <- MakeSignal('HeaviSine',2^3) qmf <- MakeONFilter('Daubechies', 10) L <- 0 wc <- FWT_PO(f, L, qmf) thr <- 2 wct <- HardThresh(wc, thr) fhard <- IWT_PO(wct, L, qmf)
Run the code above in your browser using DataLab