rwavelet (version 0.4.1)

block_partition: Construct 1d block partition

Description

This function is used to group the coefficients into blocks (or groups) of size L.

Usage

block_partition(x, L)

Arguments

x

(noisy) wc at a given scale.

L

block size.

Value

out partition of coefficients by block.

See Also

invblock_partition, BlockThresh.

Examples

Run this code
# NOT RUN {
x <- MakeSignal('Ramp', 8)
j0 <- 0
qmf <- MakeONFilter('Haar')
wc <- FWT_PO(x, j0, qmf)
L <- 2
wcb <- block_partition(wc, L)
# }

Run the code above in your browser using DataLab