I have N matrices of equal columns.Now i want to concatenate them vertically.I have like 40 matrices. Is it possible for me to use for loop to concatenate N matrices vertically?
Matrices have name data(1,1).data to data(40,1).data I cant do A = vertcat(data(1,1).data,data(2,1).data,data(3,1).data and so on)
I need a loop for this from i=1:40

 Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 9 de Sept. de 2014
out = cat(1,data.data);

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by