Combine two tables with their corresponding rows

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)

Hi,
You can use inner join function as shown below
table3 = innerjoin(table1,table2)

This question is closed.

Tags

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!