フィルターのクリア

How do I create a table that I don't now the size of ahead of time?

8 ビュー (過去 30 日間)
Victoria Helm
Victoria Helm 2020 年 7 月 2 日
コメント済み: Walter Roberson 2020 年 7 月 3 日
I'd like to creat a table for which I know the number of columns/variable names. However, I don't know how big (how many rows) it needs to be ahead of time and want the number of rows to increase as data is stored in it. Is this possilbe?

採用された回答

Walter Roberson
Walter Roberson 2020 年 7 月 2 日
  2 件のコメント
Jeff Miller
Jeff Miller 2020 年 7 月 3 日
Just a comment that I found this pretty slow, in case speed is an issue for you. In my case, it was much faster to accumulate the variables as separate vectors and assemble them into a table after they reached their final sizes.
Walter Roberson
Walter Roberson 2020 年 7 月 3 日
Good point, Jeff.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by