Maximum variable size allowed by the program is exceeded.
Show older comments
i tried this A =reshape( (zeros(vsize*vsize*2)),[],2); but getting Error using zeros Maximum variable size allowed by the program is exceeded. but when i tried A= reshape( (blanks(vsize*vsize*2)),[],2); is fine here vsize is 256
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 27 Mar 2016
Edited: Azzi Abdelmalek
on 27 Mar 2016
0 votes
you can check that blanks(n) takes less memory then zros(4) a=blanks(4) b=zeros(4) whos a whos b
Categories
Find more on Logical 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!