cumulative statistic with NaN's

Version 1.0.0.0 (1.48 KB) by Mauro
cumstat calculate the mean and std of an array with NaN's from 1 to n
446 Downloads
Updated 11 Mar 2010

View License

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

Cite As

Mauro (2024). 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
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on NaNs in Help Center and MATLAB Answers
Acknowledgements

Inspired by: cumulativ statistic

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0