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

📄 tsmooth.m

📁 Interactive smoothing for time-series signals, with sliders that allow you to adjust the smoothing
💻 M
字号:
function s=tsmooth(Y,w)%  Convolution-based triangular smooth%  tsmooth(Y,w) smooths vector Y by a triangular function of halfwidth w%  T. C. O'Haver, 1988.v=conv(boxcar(w),boxcar(w));S=conv(Y,v);startpoint=(length(v) + 1)/2;endpoint=length(Y)+startpoint-1;s=S(startpoint:endpoint) ./ sum(v);

⌨️ 快捷键说明

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