Effacer les filtres
Effacer les filtres

concatenate multidimentional tables

4 vues (au cours des 30 derniers jours)
Mary Kodogianni
Mary Kodogianni le 29 Jan 2011
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..

Réponse acceptée

Jiro Doke
Jiro Doke le 29 Jan 2011
Since you aren't very descriptive with your question, I would simply suggest reading up on Matrix Concatenation from the documentation:

Plus de réponses (1)

Jan
Jan le 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?

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by