SoftThresh: Apply Soft Threshold

Description Usage Arguments Value See Also Examples

View source: R/SoftThresh.R

Description

Apply Soft Threshold

Usage

1

Arguments

y

Noisy Data.

t

Threshold.

Value

x filtered result (y 1_|y|>t).

See Also

HardThresh

Examples

1
2
3
4
5
6
7
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)

rwavelet documentation built on Jan. 13, 2021, 10:38 a.m.