Fill in a data vector into a preallocated zeros matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sebastian Engelsgaard
am 22 Jan. 2021
Beantwortet: James Tursa
am 22 Jan. 2021
Hi,
I have a vector (called v) of size
[2000004×1 double]
with data, and I want to split this into a preallocated 500001x4 matrix (called m). The data needs to be extracted cronologically meaning that v(1,1) = m(1,1) and v(500002,1)=m(1,2)
Can anyone help?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!