??? Error using ==> ones , Maximum variable size allowed by the program is exceeded
Show older comments
hi every one
MATLAB will make me crazy,,,,, when i try to make an array with (16777216) elements, i got this error,,,,,
r=ones(16777216);
??? Error using ==> ones , Maximum variable size allowed by the program is exceeded
but when i make an array with the same number of elements but in diffrent dimensions then no problem.
r=ones(4096,4096);
reshape(r,1,16777216)
when i reshape the array to (1,16777216), then also no problem.
any one know why this happened?? its the same size, right?
i'm using (MATLAB R2010a) RAM : 6GB OS: win7/64bit CPU : Intel® Core™ i3 CPU M330 @ 2.13GHz 2.13GHz
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!