What can I do to large scale array?
Show older comments
Hi, I met a problem dealing with very large scale data.
My server's limit is:
>> [str,maxsize]=computer
str =
GLNXA64
maxsize =
2.8147e+14
And I define an array like ones(3^N, 3^N, N+1, 1000,'uint16') where N=13.
The error shows :
Error using ones Maximum variable size allowed by the program is exceeded.
My question is, can I use another data type to avoid this problem? I realize it is a very large scale to Matlab.
Thanks.
2 Comments
Honglei Chen
on 17 Oct 2012
What do you intended to do with such a large matrix? It's one thing to be able to create a matrix, but I assume you also want to do some operation on it? Do you have to create all elements at once?
C Zeng
on 18 Oct 2012
Accepted Answer
More Answers (0)
Categories
Find more on Matrices and Arrays 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!