How to concatenate several matrix into one

1 次查看(过去 30 天)
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