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

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개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2021년 2월 15일

댓글:

2021년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by