Out of memory using cov function
Mostra commenti meno recenti
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 Commenti
Oleg Komarov
il 27 Mar 2012
how long is xc?
Dinyar
il 27 Mar 2012
Oleg Komarov
il 27 Mar 2012
You sure you don't want to to do cov(154401x3). I mean, how many series do you have?
Dinyar
il 27 Mar 2012
Risposte (1)
Walter Roberson
il 27 Mar 2012
0 voti
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.
1 Commento
Dinyar
il 27 Mar 2012
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!