<< invtwo6m Integer_Wavelet_Transform_ToolBox invtwoplus2m >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > invfour4

invfour4

It performs inverse of (2,2) integer wavelet transform.

Calling Sequence

y = invtwoplus2(a,d)

Arguments

a

A 1-d signal representing the approximation part.

d

A 1-d signal representing the detail part.

o

A character constant 't' or 'c' to specify the filter to be used. By default, it is 't'.

y

A 1-d vector representing the reconstructed signal. Its length is twice the length of approximation or detail part.

Description

It performs the reconstuction of a signal from its approximation and detail parts. It tkes two or three inputs. The first two inputs corresponds to the approximation and the detail parts and the third input, if present, specifies the types of the filters to be used for reconstuction. By default, the third input is taken as 't'.

Examples

// input 
x=[3 5 2 6 7 1 9];
// approximation and detail parts 
[a,d]=twoplus2(x,'c');

// Reconstruction 
y=invtwoplus2(a,d,'c');

        Add here scilab instructions and comments

See Also

Authors

<< invtwo6m Integer_Wavelet_Transform_ToolBox invtwoplus2m >>