maximum size of matrix

62 views (last 30 days)
Talaria
Talaria on 5 Aug 2011
what would be the maximum possible size of a matrix, and how to overcome this problem?

Accepted Answer

Friedrich
Friedrich on 5 Aug 2011
Hi,
a bit old but still valid I think:
And also more or less valid:
Since out = rand(10^9,4) gives an out of memory on 64bit but out = rand(10^9,3) works.
And you can run
[str,maxsize] = computer
in order to figure out the maximum number of elements allowed in an array with this version of MATLAB. See doc under

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!