i have loop and i need to Create a table for each loop
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Muhannad Saleh
el 15 de Feb. de 2021
Comentada: Muhannad Saleh
el 15 de Feb. de 2021
i have loop and i need to Create a table for each loop all the table have number to know what the table
0 comentarios
Respuesta aceptada
Stephen23
el 15 de Feb. de 2021
Editada: Stephen23
el 15 de Feb. de 2021
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!