Info

此问题已关闭。 请重新打开它进行编辑或回答。

Combine two tables with their corresponding rows

1 次查看(过去 30 天)
I have two tables and want to combine them with their corresponding first column. So that "ss" and "dd" will be in a new table with their corresponding "name". Any idea how to do that?

回答(1 个)

Sahithi Metpalli
Sahithi Metpalli 2020-3-9
Hi,
You can use inner join function as shown below
table3 = innerjoin(table1,table2)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by