# NOT RUN {
## Plot Haar autocorrelation wavelet functions inner product
AInnProd <- AutoCorrIP(J = 8, filter.number = 1, family = "DaubExPhase")
# }
# NOT RUN {
MaxOffset <- 2^8
for(h in 6:8){
x11()
par(mfrow = c(3, 3))
for(l in 6:8){
for(j in 6:8){
plot(-MaxOffset:MaxOffset, AInnProd[, j, l, h], type = "l",
xlab = "lambda", ylab = "Autocorr Inner Prod",
main = paste("j :", j, "- l :", l, "- h :", h))
}
}
}
# }
# NOT RUN {
## Special case relating to ipndacw function from wavethresh package
Amat <- matrix(NA, ncol = 8, nrow = 8)
for(j in 1:8) Amat[, j] <- AInnProd[2^8 + 1, j, j, ]
round(Amat, 5)
round(ipndacw(J = -8, filter.number = 1, family = "DaubExPhase"), 5)
# }
Run the code above in your browser using DataLab