<< four2m Integer_Wavelet_Transform_ToolBox intdb2m >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > db2

db2

db2 is called as Daubechies extremal phase wavelets. The number refers to the number of vanishing moments.

Calling Sequence

[a,d] = db2(x)

Arguments

x

A vector representing a 1-d discrete signal whose samples are integers.

a

A vector representing the approximation part of the integer transform.

d

A vector representing the detail part of the integer transform.

Description

It computes the approximation and detail integer parts for a 1-d integer signal using db2 integer wavelet transform. The lengths of the approximation and detail parts is equal to the ceiling of the half of length of the input signal.

Examples

// Discrete 1-d integer signal
    x=[1 2 3 4];
// Approximation and detail parts in integer
    [a,d]=db2(x)
// gives a  = [1. 0.]
// and d = [1. -6.]

See Also

Authors

<< four2m Integer_Wavelet_Transform_ToolBox intdb2m >>