how to add a new column to a table. The length of the column is longer and want to add from the first row till the last row of current table and neglect the rest of the column
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zeynab Mousavikhamene
am 14 Aug. 2019
Bearbeitet: madhan ravi
am 14 Aug. 2019
Imaging there is a table that has 500 rows and I want to add a colmun which has 1000 rows to the table (adding the first 500 rows and neglecting the rest of the column).
Any suggestion?
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 14 Aug. 2019
Bearbeitet: madhan ravi
am 14 Aug. 2019
Wanted = [T1,T2(1:size(T1,1),:)] %T1 table with 500 rows and the other with 1000 rows
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables 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!