Out of memory error with zeros()
Show older comments
I'm having a strange problem where when I run
nrg=zeros(120001);
I'm getting an out of memory error, but if I have an array, say t, that is the same length and I do
nrg=t*0;
it has no trouble creating the array.
Thoughts?
Accepted Answer
More Answers (1)
Jon
on 16 Feb 2013
0 votes
Categories
Find more on Logical 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!