How to divide an array
Mostrar comentarios más antiguos
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 comentarios
James Tursa
el 21 de Nov. de 2019
Depends. What do you want to do for the leftovers? How will this be used downstream in your code?
Jaydeep Kansara
el 21 de Nov. de 2019
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Operators and Elementary Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!