Cumulative Mean

Calculates cumulative row/column mean of vectors, matrices and N-Dim arrays
3,6K téléchargements
Mise à jour 2 mars 2015

Afficher la licence

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
Créé avec R11.1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et MATLAB Answers
Remerciements

A inspiré : Iterative Reweighted Least Squares

Version Publié le Notes de version
1.1.0.0

Updated documentation as per comments from reviewers

1.0.0.0

Documentation update