Learn R Programming

boostmath (version 1.4.0)

filters: Filters

Description

Functions to compute Daubechies wavelet and scaling filters.

Usage

daubechies_scaling_filter(order)

daubechies_wavelet_filter(order)

Value

A numeric vector of size 2*order containing the filter coefficients.

Arguments

order

An integer specifying the order of the Daubechies filter (must be between 1 and 19).

See Also

Boost Documentation for more details on the mathematical background.

Examples

Run this code
# Daubechies Scaling Filter of order 4
daubechies_scaling_filter(4)
# Daubechies Wavelet Filter of order 4
daubechies_wavelet_filter(4)

Run the code above in your browser using DataLab