smoothslidertest.m

来自「Interactive smoothing for time-series si」· M 代码 · 共 16 行

M
16
字号
% Test of SmoothSlider
% Generates a synthetic signal assigned to Y, then calls SmoothSlider.
% Tom O'Haver, toh@umd.edu, July 2006

global X
global SmoothY
global Y
global MaxSmoothwidth
global SmoothWidth
global Passes

X=[1:10000]; 
Noise=1;
Y=3.*gaussian(X,3000,1500)+gaussian(X,7000,1000)+Noise.*randn(size(X)); % Generate synthetic test signal
MaxSmoothwidth=500;  % Defines the largest value of the smooth width slider.
SmoothSlider

⌨️ 快捷键说明

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