How do I combine 5x1599 array to 7995x1
Info
This question is closed. Reopen it to edit or answer.
Show older comments
This is how my transposed work is and I want to merge all the columns from 1st to the last without changing the order. Example
Columns 1 through 6
-0.000262 -0.00165 -0.00163 -0.00134 -0.0014 -0.00155
-0.000599 -0.00167 -0.00159 -0.00131 -0.00144 -0.00154
-0.00132 -0.00167 -0.00152 -0.0013 -0.00149 -0.00153
-0.00165 -0.00166 -0.00144 -0.00132 -0.00153 -0.00152
-0.00163 -0.00166 -0.00138 -0.00136 -0.00156 -0.0015
Columns 7 through 12
I need the 2nd column to come after 1st column so that there is only 1column of numbers
Pls help, im a recent user of matlab
Answers (1)
Wayne King
on 6 Mar 2013
Edited: Wayne King
on 6 Mar 2013
A = randn(100,10);
B = reshape(A,10*100,1);
Obviously for you that is
B = reshape(A,5*1599,1);
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!