rwavelet (version 0.4.1)

block_partition2d: Construct 2d block partition

Description

Group the coefficients into blocks (or groups) of size L.

Usage

block_partition2d(x, L)

Arguments

x

(noisy) wc at a given scale.

L

block size.

Value

out partition of coefficients by block.

See Also

invblock_partition2d

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(2^2), ncol=2)
j0 <- 0
qmf <- MakeONFilter('Haar')
wc <- FWT2_PO(x, j0, qmf)
L <- 2
wcb <- block_partition2d(wc, L)
# }

Run the code above in your browser using DataLab