append sections of column by n rows to subsequent column
Mostrar comentarios más antiguos
i have a 1032x1 single column matrix where i need to move every 43 rows to the next column and so on, with the first section to be appended starting at row 44
many thanks,
Respuestas (1)
Ameer Hamza
el 5 de En. de 2021
You can use reshape()
v; % 1032x1 vector
M = reshape(v, 43, [])
1 comentario
Kevin Mikami
el 5 de En. de 2021
Editada: Kevin Mikami
el 5 de En. de 2021
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!