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

📄 program_13_04.m

📁 《小波分析理论与Matlab R2007实现》源代码
💻 M
字号:
% 产生信号,设置阈值
t = linspace(0,1,100); 
y = 0.8*sin(2*pi*t); 
subplot(1,3,1),plot(y);
title('原始信号'),grid on;
thr = 0.4;
% 进行硬阈值处理
ythard = wthresh(y,'h',thr);
subplot(1,3,2),plot(ythard );
title('硬阈值处理信号'),grid on;
% 进行软阈值处理
ytsoft = wthresh(y,'s',thr);
subplot(1,3,3),plot(ytsoft);
title('软阈值处理信号'),grid on;





⌨️ 快捷键说明

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