How to concatenate several matrix into one

조회 수: 3 (최근 30일)
Skydriver
Skydriver 2019년 11월 15일
편집: Skydriver 2019년 11월 15일
I have 18 matrix with each size is 11 x 175. I want concanntenate into one matrix. So my next matrix become 198 * 175.
What should I do?
Any comment will be appreciate
Thank you
Akhmad

채택된 답변

David Hill
David Hill 2019년 11월 15일
newMatrix=horzcat(a,b,c,d,e,...);
  댓글 수: 1
Skydriver
Skydriver 2019년 11월 15일
But I want develop into vertical array, this my coding. Unfortunately the content of each matrix is zero.
for k = 1:numberfiles
XX{nomorfiles}=['RSL_all' num2str(nomorfiles) '.txt'];
RSL_allNew=vertcat(XX{k})
end

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by