www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/InverseMODWPTUsingScalingAndWaveletFIltersExample.m
%% Inverse MODWPT Using Scaling and Wavelet Filters % Obtain the MODWPT of Southern Oscillation Index data using specified % scaling and wavelets filters with the Daubechies extremal phase wavelet % with two vanishing moments (|'db2'|). load soi; [lo,hi] = wfilters('db2'); wpt = modwpt(soi,lo,hi); xrec = imodwpt(wpt,lo,hi); %% % Plot the original SOI waveform and the reconstructed waveform. subplot(2,1,1) plot(soi) title('Original SOI Waveform'); subplot(2,1,2) plot(xrec) title('Reconstructed SOI Waveform')