Scilab Wavelet Toolbox Function
Last update : Feburary 2006

wrcoef - reconstruction from signal branch

Calling Sequence

cc=wrcoef(type,c,l,wavename,level,[extension_method])

Parameters

Description

This function reconstructs the signal from coefficient branch of coefficient bunch vector, on specific level approximation or detail. That is implemented by setting all other coefficients except the coefficient specified, to zeros and doing the inverse transform.

Examples


-->sig=rand(1,64);
-->[c,l]=wavedec(sig,3,'db2','symh');
-->A1=wrcoef('a',c,l,'db2',1,'symh');
-->length(A1)
 ans  =
 
    64.     
-->d2=appcoef('d',c,l,'db2',2,'symh');
 -->length(d2)
 ans  =
 
    64.    


  

See Also

appcoef ,   detcoef ,   appcoef2 ,   detcoef2 ,   wrcoef2