it's useful to see how the mean and the standard deviation change when you use more samples to calculate it.
The Array can contain NaN's but it's slower than cumstat (File ID: #26899) because it contain a for-loop
Mauro (2022). cumulative statistic with NaN's (https://www.mathworks.com/matlabcentral/fileexchange/26906-cumulative-statistic-with-nan-s), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: cumulativ statistic
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!