-
1 Comment
Erik Zdansky
on 3 Feb 2016
The intention was to make a correct preallocation and the fill it without needing to extend the string or reshuffle its content. It would be good to gain more insight into how the size is calculated. Criteria for evaluating code is not only code size but memory and time efficiency, and efficiency in writing and maintaining the code.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!