How to divide an array
Show older comments
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 Comments
James Tursa
on 21 Nov 2019
Depends. What do you want to do for the leftovers? How will this be used downstream in your code?
Jaydeep Kansara
on 21 Nov 2019
Accepted Answer
More Answers (0)
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!