# NOT RUN {
matrixname <- "grid1"
groupname <- "AG-Monien"
graph <- download_graph(matrixname,groupname)
A <- graph$sA
L <- laplacian_mat(A)
n <- nrow(L)
val1 <- eigensort(L)
evalues <- val1$evalues
evectors <- val1$evectors
lmax <- max(evalues)
f <- randsignal(eta=0.01,k=5,A=A)
sigma <- 0.1
noise <- rnorm(n, sd = sigma)
y <- f + noise
b <- 2
wcn <- forward_sgwt(y, evalues, evectors, b=b)
HPFVN(wcn, evalues, b)
# }
Run the code above in your browser using DataLab