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.
Cita come
Leandro Barajas (2024). Cumulative Mean (https://www.mathworks.com/matlabcentral/fileexchange/1673-cumulative-mean), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato: Iterative Reweighted Least Squares
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.