Pre-allocating a memory for a Matrix
이전 댓글 표시
How can I pre-allocate a memory for a matrix? for example, a 1x200 matrix?
답변 (1개)
KSSV
2020년 2월 4일
iwant = zeros(1,200) ;
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!