Matlab resizing a matrix
Ältere Kommentare anzeigen
I have a matrix 8314 x 3 and want to cut it down to 144 x 3 while having the same start and end point.
Akzeptierte Antwort
Weitere Antworten (1)
David Hill
am 25 Okt. 2020
Not sure how you want to select the elements between the first and last.
newMatrix=reshape([yourMatrix(1:58:end),yourMatrix(end)],[144],[]);
Kategorien
Mehr zu Logical 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!