Slice matrix by discrete ranges in julia

后端 未结 0 1647
感情败类
感情败类 2021-01-03 00:49

Given a 2-D matrix:

arr = rand(10,10)

I would like to slice it by discrete ranges, e.g. row 2 to 4 followed by row 6 to 8, leading to a 6x10

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