MATLAB: Regarding the size of matrix that Matlab can handle

matrixmatrix manipulationmemory

How big matrix that matlab can handle? In my project, the program may need to generate and operate on a matrix with size of 50000*5000, and each entry is a double value.

Best Answer

Hi,
it depends on version and operating system: on a 32Bit OS this will definetely fail, because the matrix would need about 1.8GB of memory. On a 64Bit machine (with reasonable new MATLAB release).
doc computer
shows the maximum number of elements allowed in an array.
Titus
Related Question