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

 Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 9 Sep. 2014

0 Stimmen

out = cat(1,data.data);

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by