Join multiple tables using Outerjoin in MATLAB
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nikita Agrawal
el 28 de Jun. de 2020
Comentada: Nikita Agrawal
el 29 de Jun. de 2020
Hi,
I have 300 tables that I have stored over a loop, now I want to join them outside the loop.
I have the following:
T{1} = mytable_1;
T{2} = mytable_2;
T{3} = mytable_3;
.
.
.
.
T{300} = mytable_300;
I want to merge these tables:
T_bigtable = outerjoin(xxxx,'Mergekeys',true)
0 comentarios
Respuesta aceptada
Kawin Kumaran
el 29 de Jun. de 2020
Outerjoin can be nested in a for loop .Please follow the example code :
T_bigtable = T{1};
for k = 2:300
T_bigtable = outerjoin(T_bigtable, T{k});
end
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays 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!