<< four2m Integer_Wavelet_Transform_ToolBox_2

Integer_Wavelet_Transform_ToolBox_2 >> Integer_Wavelet_Transform_ToolBox_2 > six2

six2

It performs (6,2) integer wavelet transform

Calling Sequence

[a,d] = six2(x)
[a,d] = six2(x,o)

Arguments

x

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

o

A charcater constant to identify the types of filters used for the integer transform. By default it is 't', correspoding to 13/7 T filters. It may also be 'c' correspoding to 13/7 C filters.

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 (4,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. The function can be run with or without second parameter. If the second parameter is not provided, it is by default taken as 't' corresponding to the 13/7 T filters.

Examples

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

See Also

Authors

Bibliography

Add here the function bibliography

<< four2m Integer_Wavelet_Transform_ToolBox_2