Matrix one column separation into several columns with same amount of data
Mostra commenti meno recenti

Hi, I would like to separate a matrix column into several matrix columns that will have same amount of data points. For example,
I have 'column A' which is 500 x 1. And I would like to separate it into five columns which are 100 x 5 and they would be 'Column A' ~ 'Column E'(five). First data point of 'Column B' would be 101th of 'Column A' First data point of 'Column C' would be 201th of 'Column A' etc.
Please let me have an idea about it. I am a beginner of Matlab. Thank you so much.
Risposte (1)
Star Strider
il 14 Ago 2017
Modificato: Star Strider
il 14 Ago 2017
YourReshapedMatrix = reshape(YourMatrix, 100, []);
Categorie
Scopri di più su Logical 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!