Borrar filtros
Borrar filtros

Out of memory using cov function

2 visualizaciones (últimos 30 días)
Dinyar
Dinyar el 27 de Mzo. de 2012
Hi,
I am trying to run the cov function on my matrix (3x154401 double) and I am getting:
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> cov at 95
xy = (xc' * xc) / m;
I have a 64-bit system and Windows is telling me I have 1706MB of free memory, would increasing the size of my page file help?
Any help much appreciated, Dinyar
  4 comentarios
Oleg Komarov
Oleg Komarov el 27 de Mzo. de 2012
You sure you don't want to to do cov(154401x3). I mean, how many series do you have?
Dinyar
Dinyar el 27 de Mzo. de 2012
Hmm... that could potentially be it. The information was imported from a genereated .mat file. The function does work as cov(154401x3). I will have to test the result on the rest of my code. cheers.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Mzo. de 2012
It might help, but what size is your input matrix?
It is not uncommon for people to ask to take the covariance of matrices that are too large to process in any humanly meaningful amount of memory.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by