<< two10m Integer_Wavelet_Transform_ToolBox two6 >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > two4

two4

It performs (2,4) integer wavelet transform

Calling Sequence

[a,d] = two4(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 (2,4) 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=[3 5 2 6 7 1 9];
// Approximation and detail parts in integer
    [a,d]=two4(x)
// gives a  = [9.    10.    6.    0.]
// and d = [7.  6.  8.    9. ]

See Also

Authors

<< two10m Integer_Wavelet_Transform_ToolBox two6 >>