combine 3 dimensions array in cells into 1 cell
14 次查看(过去 30 天)
显示 更早的评论
0 个评论
采纳的回答
Orion
2014-10-29
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 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dictionaries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!