Splitting a vector into groups of a predefined size

前端 未结 0 571
梦如初夏
梦如初夏 2020-12-16 15:54

I\'m looking for a way to split an input vector into groups of a predefined size, with the last group being smaller if there is a remainder. I prefer the output as a cell, b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题