using mat2cell
Mostrar comentarios más antiguos
M is matrix of 2010x1300
how do i form 201 cells of 10x1300 using mat2cell?
Respuesta aceptada
Más respuestas (1)
M
el 31 de Oct. de 2017
Maybe not the easiest solution, but try something like :
j=1;
for i=1:10:201
A{j}=M(i:i+9,:);
j=j+1;
end
1 comentario
Joseph Lee
el 31 de Oct. de 2017
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!