www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/BiorthogonalWaveletFromLiftingExample.m
%% Biorthogonal Scaling and Wavelet from Lifting Scheme % This example shows how to obtain the biorthogonal scaling and wavelet % functions corresponding to a lifting scheme. % Obtain the lifting scheme for the CDF 3/1 wavelet. % Copyright 2015 The MathWorks, Inc. lscdf = liftwave('cdf3.1'); %% % Display the lifting scheme, which consists of two primal and one dual % step. Sc = displs(lscdf); Sc %% % Obtain the decomposition and reconstruction filters from the lifting % scheme. [LoD,HiD,LoR,HiR] = ls2filt(lscdf); %% % Visualize the scaling and wavelet function and their duals. bswfun(LoD,HiD,LoR,HiR,'plot');