Combining arrays by common variable
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
sushma sharma
am 4 Nov. 2016
Beantwortet: Walter Roberson
am 4 Nov. 2016
Hi, I have A (100 x 2 double), and B (90 x 2) variable. I want to combine these two by common values in the first column of A, and B, so that I have C, a 90(?) x 3 double, where the first column is the common values of the first columns of A and B, the second column is the values of the second column of A, and the third column is the values of the second values of B. I have tried the union function, but have not managed to get this to work...Any help would be appreciated! Thanks! Sushma
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!