combine 3 dimensions array in cells into 1 cell
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
0 Kommentare
Akzeptierte Antwort
Orion
am 29 Okt. 2014
Hi,
just concatenate using cat
% generate a 1x10 cell, every element is a 10x10x50 array
for i = 1:10
C1{i} = i*rand(10,10,50);
end
% create a unique array by concatenating along the 3rd direction
BigArray = [];
for i = 1:10
BigArray = cat(3,BigArray,C1{i});
end
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Dictionaries finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!