i have loop and i need to Create a table for each loop

2 ビュー (過去 30 日間)
Muhannad Saleh
Muhannad Saleh 2021 年 2 月 15 日
コメント済み: Muhannad Saleh 2021 年 2 月 15 日
i have loop and i need to Create a table for each loop all the table have number to know what the table

採用された回答

Stephen23
Stephen23 2021 年 2 月 15 日
編集済み: Stephen23 2021 年 2 月 15 日
Use indexing rather than numbering the variables:
N = the number of tables that you want
C = cell(1,N);
for k = 1:N
C{k} = table(..);
end
Probably you should just use one table, and add a column with an appropriate distinguishing variable.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by