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

    %% Correlation with Reflection Boundary Conditions
% Obtain multiscale correlation estimates when using |'reflection'| 
% boundary handling. Obtain the MODWT of the Southern Oscillation 
% Index and Truk Islands pressure data sets using |'reflection'|
% boundary handling for both data sets.

% Copyright 2015 The MathWorks, Inc.

load soi
load truk
wsoi = modwt(soi,'fk4',6,'reflection');
wtruk = modwt(truk,'fk4',6,'reflection');
corrtable = modwtcorr(wsoi,wtruk,'fk4',0.95,'reflection','table')