現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
In terms of behavior, this is an alternative to filter() for a moving-average kernel. The running time does not grow with filter length beyond N=500.
The code uses a variant of the cumsum-trick, although not the "garden variety" but in a way that does not run into numerical issues for long data arrays.
The function is suitable for incremental (online) processing.
引用
Christian Kothe (2026). Fast moving average (https://jp.mathworks.com/matlabcentral/fileexchange/34567-fast-moving-average), MATLAB Central File Exchange. に取得済み.
謝辞
ヒントを与えたファイル: downsample_ts
