Out of memory using cov function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Oleg Komarov
2012-3-27
You sure you don't want to to do cov(154401x3). I mean, how many series do you have?
回答(1 个)
Walter Roberson
2012-3-27
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!