- #1
Frank Einstein
- 170
- 1
- TL;DR Summary
- I want to calculate the covariance matrix of a large set of data. However, I get an error telling me that said matrix would be too big and therefore It cannot be done.
Hello everyone. I want to calculate the covariance matrix of a stochastic process using Matlab as
being the dimensions of listOfUVValues 211302*50. I get the following error:
;
Is there a way to go arround this limitation or is it impossible to do?
Any answer is appreciated.
Best regards.
Covariance matrix:
cov(listOfUVValues)
being the dimensions of listOfUVValues 211302*50. I get the following error:
Error:
Requested 211302x211302 (332.7GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become
unresponsive. See array size limit or preference panel for more information.
Error in cov (line 156)
c = (xc' * xc) ./ denom;
Is there a way to go arround this limitation or is it impossible to do?
Any answer is appreciated.
Best regards.