append sections of column by n rows to subsequent column
Mostra commenti meno recenti
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,
Risposte (1)
Ameer Hamza
il 5 Gen 2021
You can use reshape()
v; % 1032x1 vector
M = reshape(v, 43, [])
1 Commento
Kevin Mikami
il 5 Gen 2021
Modificato: Kevin Mikami
il 5 Gen 2021
Categorie
Scopri di più su Matrices and Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!