www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/MODWTToASpecifiedLevelExample.m

    %% MODWT to a Specified Level
% Obtain the MODWT of an ECG signal down to scale $2^4$, which corresponds
% to level four. Use the default |'sym4'| wavelet.

% Copyright 2015 The MathWorks, Inc.

load wecg;
wtecg = modwt(wecg,4);
%%
% |wtecg| is a 5-by-2048 matrix.  The row size is L+1, where, in this
% case, the level (L) is 4. The column size matched the number of 
% input samples.