Does "rowfun" preallocate a table?

I would like to use "rowfun" to create a new table from an older table. I am wondering how to do this with a preallocated table.

 Accepted Answer

"rowfun" already preallocates a table based on the input. This can be observed by inspecting the implementation of "rowfun":
>> edit rowfun.m

More Answers (0)

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!