Borrar filtros
Borrar filtros

How to concatenate several matrix into one

1 visualización (últimos 30 días)
Skydriver
Skydriver el 15 de Nov. de 2019
Editada: Skydriver el 15 de Nov. de 2019
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

Respuesta aceptada

David Hill
David Hill el 15 de Nov. de 2019
newMatrix=horzcat(a,b,c,d,e,...);
  1 comentario
Skydriver
Skydriver el 15 de Nov. de 2019
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by