Preallocating a variable that changes size every for loop iterations.
Show older comments
I am using a variable indices that changes size like three times in an iteration .Preallocating it does not change anything.

Answers (1)
Sindar
on 25 Sep 2020
0 votes
It's just a code suggestion, you can safely ignore it.
Categories
Find more on Loops and Conditional Statements 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!