Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
Christian Kothe (2026). Fast moving average (https://fr.mathworks.com/matlabcentral/fileexchange/34567-fast-moving-average), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : downsample_ts
Informations générales
- Version 1.2.0.0 (2,29 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.0 | The N<500 case is now correctly implemented... (had a dumb error before) |
||
| 1.1.0.0 | Fixed an issue pointed out by Jan Simon (failed to determine along which dimension to filter when the signal was a scalar) and updated the docs. |
||
| 1.0.0.0 |
