How to split an array by same length and make a matrix?
Mostrar comentarios más antiguos
I have an array. a=[1 2 3 4... 24 25 26 27... 48 49 50... 72]
I want a matrix from that array. i.e. b=[1 2 3... 24; 25 26 27... 48; 49 50 51... 72]
After 24 interval it will be in next row.
small code is preferable.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrices and Arrays 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!