?? example6_7.m
字號:
load sumsin;
s=sumsin;
figure(1);
subplot(6,1,1);
plot(s);
Ylabel('s');
title('原始信號和各層近似');
[c,l]=wavedec(s,5,'db3');
for i=1:5
decom=wrcoef('a',c,l,'db3',6-i);
subplot(6,1,i+1);
plot(decom);
Ylabel(['a',num2str(6-i)]);
end
figure(2);
subplot(6,1,1);
plot(s);
Ylabel('s');
title('原始信號和各層細(xì)節(jié)');
[c,l]=wavedec(s,5,'db3');
for i=1:5
decom=wrcoef('d',c,l,'db3',6-i);
subplot(6,1,i+1);
plot(decom);
Ylabel(['d',num2str(6-i)]);
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -