demosmooth3.m

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

M
17
字号
function DemoSmooth3(n,h)
% Re-draws graph when the Resample slider is moved
% Tom O'Haver, July 2006. Slider function by Matthew Jones.

global t
global SmoothSignal
global signal
global Noise
global NoiseArray
global puresignal
global wid
global SmoothWidth
global Passes

NoiseArray=Noise.*randn(size(t)); % Generate another random noise samplpe
signal=puresignal+NoiseArray; % Add noise to peak
DemoSmoothRedraw

⌨️ 快捷键说明

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