wrhs5=modwt(r1,'sym8',x);
mrarhs5=modwtmra(wrhs5,'sym8');
hs5=mrarhs5'; %将沪深300指数收益率的多分辨率结果矩阵转置
%画沪深300指数收益率的5尺度多分辨率分解图
subplot(611);plot(x,mrarhs5(6,:));ylabel('a5');
subplot(6,1,2);plot(x,mrarhs5(5,:));ylabel('d5');
subplot(6,1,3);plot(x,mrarhs5(4,:));ylabel('d4');
subplot(6,1,4);plot(x,mrarhs5(4,:));ylabel('d3');
subplot(6,1,5);plot(x,mrarhs5(2,:));ylabel('d2');
subplot(6,1,6);plot(x,mrarhs5(1,:));ylabel('d1');