pre-allocate
14 ビュー (過去 30 日間)
古いコメントを表示
hi, when I used x=zeros(211197)
I got product of dimension is greater than maximum integer. what I do? I used pre-allocate to avoid out of memory
thanks
1 件のコメント
Jan
2011 年 10 月 22 日
This has been answered in your former thread already: http://www.mathworks.com/matlabcentral/answers/17923-out-memory-problem
Please read the former answers carefully instead of trying to push me by email.
回答 (1 件)
bym
2011 年 10 月 22 日
you are creating a matrix [211197 x 211197]. do you want perhaps:
x= zeros(211197,1) % ?!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!