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