Memory-optimized versions of VAR, STD, etc...
Show older comments
From various tests, it appears that
var(X,0,dim);
std(X,0,dim);
and maybe other stats functions create a temporary duplicate of X during its calculations. This should be unnecessary (for example, mean and sum do not) and consumes a lot of extra memory when working with large X.
Does anyone know of memory-optimized implementations of these, and maybe other stats functions? I've had no luck with my FEX searches.
Answers (0)
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!