📄 sh.m
字号:
t=linspace(0,1,100);
y=sin(2*pi*t);
subplot(1,3,1),plot(y);
title('原始信号');
thr=0.5;
ythard=wthresh(y,'h',thr);
subplot(1,3,2),plot(ythard);
title('硬阈值处理信号');
ytsoft=wthresh(y,'s',thr);
subplot(1,3,3),plot(ytsoft);
title('软阈值处理信号');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -