Regarding the size of matrix that Matlab can handle
7 views (last 30 days)
Show older comments
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.
2 Comments
Accepted Answer
Titus Edelhofer
on 15 Feb 2012
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
More Answers (2)
Andreas Goser
on 15 Feb 2012
On 32 bit Windows machines - still the most common platform - a practical size of matrices ends with about 500MB. Always remember that you need memory for the operation and simply loading is not enough.
0 Comments
Gregory Vernon
on 15 Feb 2012
You could look for ways to reduce your grid size. Are there symmetries you can take advantage of? Can you use a skewed or adaptive mesh? Do you NEED double precision?
0 Comments
See Also
Categories
Find more on Sparse Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!