www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/MODWTOfECGSignalExample.m
%% MODWT Using Default Wavelet % Obtain the MODWT of an electrocardiogram (ECG) signal % using the default |sym4| wavelet down to the maximum level. % Copyright 2015 The MathWorks, Inc. load wecg; wtecg = modwt(wecg); %% % wtecg is 12-by-2048 matrix. The first eleven rows are the wavelet % coefficients for scales $2^1$ to $2^{11}$. The final row contains the % scaling coefficients at scale $2^{11}$. Plot the detail (wavelet) % coefficients for scale $2^3$. plot(wtecg(3,:)) title('Level 3 Wavelet Coefficients')