Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Memory-optimized versions of VAR, STD, etc...

Subject: Memory-optimized versions of VAR, STD, etc...

From: Matt J

Date: 23 Jan, 2014 16:12:09

Message: 1 of 1

From various tests, it appears that

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.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us