Filter löschen
Filter löschen

combine 30 (1*30) matrix to one matrix (30*30)

1 Ansicht (letzte 30 Tage)
Ayda
Ayda am 8 Okt. 2011
Good evening\morning
I've 30 (1*30) matrix and would to combine them in one matrix (30*30)
Is there a command or should I use for loop?

Antworten (2)

Walter Roberson
Walter Roberson am 8 Okt. 2011
[mat1,mat2,mat3,mat4,mat5,mat6,....mat30]
See also this FAQ
  3 Kommentare
Jan
Jan am 8 Okt. 2011
Or the author is a frequent MATLAB Answers reader and collected the matrices in a cell already. Then: cat(1, M{:}).
Walter Roberson
Walter Roberson am 8 Okt. 2011
Ah yes, I did somehow misread the original matrix as if it was 30x1. Andrei's version is correct.

Melden Sie sich an, um zu kommentieren.


Ayda
Ayda am 8 Okt. 2011
Thanks Mr.Walter

Kategorien

Mehr zu Multidimensional Arrays 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!

Translated by