Info

This question is closed. Reopen it to edit or answer.

Combine two tables with their corresponding rows

1 view (last 30 days)
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?

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!