SoftThresh {rwavelet} | R Documentation |
Apply Soft Threshold
SoftThresh(y, t)
y |
Noisy Data. |
t |
Threshold. |
x
filtered result (y 1_|y|>t).
f <- MakeSignal('HeaviSine', 2^3)
qmf <- MakeONFilter('Daubechies', 10)
L <- 0
wc <- FWT_PO(f, L, qmf)
thr <- 2
wct <- SoftThresh(wc, thr)
fsoft <- IWT_PO(wct, L, qmf)