how can we preallocate a 2d array?

조회 수: 75(최근 30일)
shana
shana 2013년 3월 31일
there is a warning in my program, it says that the variable is growing inside a loop. so consider pre allocation for speed

답변(1개)

Razvan
Razvan 2013년 3월 31일

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by