How to convert a one column vector to a matrix with N number of rows and M number of colunms
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mads Andersen
am 19 Jun. 2019
Kommentiert: Mads Andersen
am 19 Jun. 2019
Hi Everybody.
I want to split up a 45019 x 1 vector into a 268 x 168 matrix.
The matrix should to be constructed so that the first 168 timesteps in the vector should be the first row and the next 168 time steps should be in the second row - and so forth.
can anybody help me, i have no idea how to write this.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!