Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
kaavya subramani
kaavya subramani el 22 de Nov. de 2016
Comentada: kaavya subramani el 22 de Nov. de 2016
(i.e) i need answer all cells in single row

Respuesta aceptada

KSSV
KSSV el 22 de Nov. de 2016
Editada: KSSV el 22 de Nov. de 2016
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.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by