I am trying to multiply two gigantic matrices: [1585152 90]*[90 1585152]. MATLAB runs out of memory. Is there any workaround for this?
Asked
Active
Viewed 45 times
0
-
3That's several terabytes of data. Are you sure you need to calculate all of that at once? – beaker Mar 06 '23 at 20:36
-
2The workaround is to rethink your problem, and find a solution that doesn’t require such a multiplication. – Cris Luengo Mar 06 '23 at 23:54
-
It's essentially a 90-element vector product that's been repeated many times. Just do not store all of the data for repetitions in RAM at once. Use a file or database or something along the line. – X Zhang Mar 07 '23 at 02:02