powered by
This function performs the inverse discrete wavelet transform.
InvDWT(grove.obj, x = NULL, include.C = TRUE, sample.C = FALSE)
A matrix with each row representing a draw from the reconstructed signal.
An object of class grove.
grove
A vector of the values of a predictor.
If TRUE, C is used for reconstructing the function.
TRUE
If TRUE, draws from C are used for recontructing the function.
data <- wavethresh::DJ.EX(n = 512, noisy = TRUE, rsnr = 5)$doppler W <- DWT(data) ans <- Denoise(W) denoised.data <- InvDWT(ans) plot(data, type = "l") lines(denoised.data[1, ], col = "red")
Run the code above in your browser using DataLab