how to sum first 140 elements every time in an (1 * 21000) array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
pavan kumar
am 19 Nov. 2019
Kommentiert: pavan kumar
am 19 Nov. 2019
a=rand(1,21000);
how to add (1 to 140,141 to 280, 281 to 420........elements up to 20861 to 21000. and totally i have 21000/140=150 i.e (1row * 150 columns)
and store it in same 'a'
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Matrices and 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!