concatenate multidimentional tables
Ältere Kommentare anzeigen
Hello everybody, I 'm working my project,and i must add,concatenate 2dimentional arrays. Does anybody know an effective algorithm to do this? Thanks in advantage..
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 29 Jan. 2011
A surprising question. If you want to concatenate two matrices horizontally:
C = [A, B];
And vertically:
C = [A; B];
Perhaps you have a more complicated problem to solve?! Are you talking of a large cell vektor containing a lot of matrices and suffer from CAT, which fails to use an efficient pre-allocation method?
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!