It performs inverse of (4,2) integer wavelet transform.
y = invfour2(a,d)
A 1-d signal representing the approximation part.
A 1-d signal representing the detail part.
A 1-d vector representing the reconstructed signal. Its length is twice the length of approximation or detail part.
It performs the reconstuction of a signal from its approximation and detail parts.The first two inputs corresponds to the approximation and the detail parts.
// input x=[3 5 2 6 7 1 9]; // approximation and detail parts [a,d]=four2(x); // gives a=[9. 10. 6. 0. ] and d=[7. 6. 8. 9.] // Reconstruction y=invfour2(a,d); // gives y= [3. 5. 2. 6. 7. 1. 9. 0.] Add here scilab instructions and comments | ![]() | ![]() |