Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Combine two tables with their corresponding rows

1 visualizzazione (ultimi 30 giorni)
Zeynab Mousavikhamene
Zeynab Mousavikhamene il 2 Mar 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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?

Risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by