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

📄 bsmooth.m

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

⌨️ 快捷键说明

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