Cumulative Mean
Similar to CUMSUM but in this case each column is divided by an unity increasing weight.
For vectors it is equivalent to:
cumsum(x)./((1:length(x))')
The CUMMEAN(x,DIM) can be taken in any non-singleton dimension (DIM).
This function is useful to compare performance of an estimator with respect to the sample mean of a set of measurements.
Citation pour cette source
Leandro Barajas (2026). Cumulative Mean (https://fr.mathworks.com/matlabcentral/fileexchange/1673-cumulative-mean), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Iterative Reweighted Least Squares
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Updated documentation as per comments from reviewers |
||
| 1.0.0.0 | Documentation update |
