MATLAB Answers

Combine two tables with their corresponding rows

4 views (last 30 days)
Zeynab Mousavikhamene
Zeynab Mousavikhamene on 2 Mar 2020
Answered: Sahithi Metpalli on 9 Mar 2020
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?

  0 Comments

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by