Adding new columns in a Table?
显示 更早的评论
I think this should be quite simple, but somehow I couldn't find the solution online.
I have two Tables, eg: Table1 and Table2. How to add let say two columns from Table 2 to Table 1.
I have tried this, but it does not work as the two input must be in a table form.
T1 = [T1 T2.ColumnA T2.ColumnB]
2 个评论
Peter Perkins
2017-6-19
The problem with this is that you're trying to concatenate a table with two doubles (I'm guessing). As Walter shows, you need to concatenate tables.
wesleynotwise
2017-6-20
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!