transform 1x12 cell to 3x4 cell
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Alberto Acri
el 23 de Jun. de 2023
Respondida: Dyuman Joshi
el 23 de Jun. de 2023
Hi! I have a cell like this:
A = {'5','11','69','85','114','169','188','196','250','258','267','295'};
I want to transform it like this:
A = {'5','11','69','85';'114','169','188','196';'250','258','267','295'};
0 comentarios
Respuesta aceptada
Dyuman Joshi
el 23 de Jun. de 2023
Use reshape
A = {'5','11','69','85','114','169','188','196','250','258','267','295'}
A = reshape(A,4,[])'
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays 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!