Join multiple tables using Outerjoin in MATLAB
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Kawin Kumaran
2020-6-29
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!