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

2 ビュー (過去 30 日間)
Ayda
Ayda 2011 年 10 月 8 日
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?

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 10 月 8 日
[mat1,mat2,mat3,mat4,mat5,mat6,....mat30]
See also this FAQ
  3 件のコメント
Jan
Jan 2011 年 10 月 8 日
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 2011 年 10 月 8 日
Ah yes, I did somehow misread the original matrix as if it was 30x1. Andrei's version is correct.

サインインしてコメントする。


Ayda
Ayda 2011 年 10 月 8 日
Thanks Mr.Walter

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by