필터 지우기
필터 지우기

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

조회 수: 1 (최근 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 CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by