hi,how to convert 6x6 cell into 1x36 cell in matlab

1 次查看(过去 30 天)
(i.e) i need answer all cells in single row

采纳的回答

KSSV
KSSV 2016-11-22
编辑:KSSV 2016-11-22
k = cell(6,6) ;
for i = 1:6
for j = 1:6
k{i,j} = rand(3) ;
end
end
iwant = reshape(k,1,[]);
or
iwant = k(:)' ;
doc reshape.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by