Convert Column Vector to arrey matrix
Ältere Kommentare anzeigen
Hi, I have a 500x1 column vector How do I convert it into a 25x20 array matrix where 1st row values of the matrix will be 1st - 20 values of the vector and so on.
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 9 Jul. 2019
Matrix = reshape(vector,20,25).'
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!