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

    %% MODWT with Reflection Boundary
% Obtain the MODWT of an ECG signal using reflection boundary handling.
% Use the default |'sym4'| wavelet and obtain the transform down to 
% level 4.

% Copyright 2015 The MathWorks, Inc.

load wecg;
wtecg = modwt(wecg,4,'reflection');
%%
% |wtecg| has 4096 columns, which is twice the length of the
% input signal, |wecg|.