Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Combine two tables with their corresponding rows

1 Ansicht (letzte 30 Tage)
Zeynab Mousavikhamene
Zeynab Mousavikhamene am 2 Mär. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (1)

Sahithi Metpalli
Sahithi Metpalli am 9 Mär. 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!

Translated by