www.gusucode.com > wavelet工具箱matlab源码程序 > wavelet/wavelet/@wdectree/wdtrec.m
function x = wdtrec(t,node) %WDTREC Wavelet decomposition tree reconstruction. % X = WDTREC(T) returns the reconstructed vector % corresponding to a wavelet tree T. % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 13-Mar-2003. % Last Revision: 06-Feb-2011. % Copyright 1995-2015 The MathWorks, Inc. % Check arguments. nargoutchk(0,1); narginchk(1,2); if nargin==1, node = 0; end % Get node coefficients. [t,x] = nodejoin(t,node); %#ok<ASGLU> % if ndims(x)>2 && node==0 % x(x<0) = 0; % x = uint8(x); % end