⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cwq8.m

📁 matlab程序源码,这个是我和同学一起做的,大家可以参考看看怎么样的,谢谢大家,可以提议供大家学!
💻 M
字号:
load sinsin
image(X);
colormap(map);
colorbar;
%从分解系数中提取近似和细节
[cA1,cH1,cV1,cD1]=dwt2(X,'bior3.7');
A1=upcoef2('a',cA1,'bior3.7',1);
H1=upcoef2('h',cH1,'bior3.7',1);
V1=upcoef2('v',cV1,'bior3.7',1);
D1=upcoef2('d',cD1,'bior3.7',1);
%显示近似和细节
figure(2);
colormap(map);
subplot(221);
image(wcodemat(A1,192));
title('近似A1');
subplot(222);
image(wcodemat(H1,192));

title('水平细节H1');
subplot(223);
image(wcodemat(V1,192));
title('垂直细节V1');
subplot(224);
image(wcodemat(D1,192));
title('对角细节D1');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -