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

    %% MRA Using the Default Wavelet
% Construct a multiresolution analysis for the Southern Oscillation Index
% data. The sampling period is one day. Plot the level eight details
% corresponding to a scale of $2^8$ days. The details at this scale capture
% oscillations on a scale of approximately one year.

% Copyright 2015 The MathWorks, Inc.

load soi
wtsoi = modwt(soi);
mrasoi = modwtmra(wtsoi);
plot(mrasoi(8,:))
title('Level 8 Details')