How to divide an array
Ältere Kommentare anzeigen
I have an array of 19361 samples. i want to divide it such that each array has 365 samples. 19361 is not perfactly divisible by 365. How can I do that?
2 Kommentare
James Tursa
am 21 Nov. 2019
Depends. What do you want to do for the leftovers? How will this be used downstream in your code?
Jaydeep Kansara
am 21 Nov. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Operators and Elementary Operations 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!