waverec.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:1k
- function x = waverec(c,l,varargin)
- %WAVEREC Multilevel 1-D wavelet reconstruction.
- % WAVEREC performs a multilevel 1-D wavelet reconstruction
- % using either a specific wavelet ('wname', see WFILTERS) or
- % specific reconstruction filters (Lo_R and Hi_R).
- %
- % X = WAVEREC(C,L,'wname') reconstructs the signal X
- % based on the multilevel wavelet decomposition structure
- % [C,L] (see WAVEDEC).
- %
- % For X = WAVEREC(C,L,Lo_R,Hi_R),
- % Lo_R is the reconstruction low-pass filter and
- % Hi_R is the reconstruction high-pass filter.
- %
- % See also APPCOEF, IDWT, WAVEDEC.
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 12-Mar-96.
- % Last Revision: 14-May-2003.
- % Copyright 1995-2004 The MathWorks, Inc.
- % $Revision: 1.11.4.2 $
- % Check arguments.
- nbIn = nargin;
- if nbIn < 3
- error('Not enough input arguments.');
- elseif nbIn > 4
- error('Too many input arguments.');
- end
- x = appcoef(c,l,varargin{:},0);