Merge a selected rows to creat a single row
Mostra commenti meno recenti
I [have] a long (2000x2) (array/matrix) " the data is double "
and i want to Merge each 8 rows to get a (667x6 array)
if the last row is less than 6 , then it's gonna fill the begging of it with zeros .
a small example :
x = 1 2
3 4
5 6
7 8
result = 1 2 3 4 5 6
0 0 0 0 7 8
thank you in advance
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!