Extracting sub-matrices from a matrix <p>I was wondering: I have a 100x100 matrix. I would like to split it in several 10x10 sub-matrices the first including columns and rows 1-10, then second including columns 11-20 and rows 1-10 and son on until eventually I have a set of 10x10 matrices.</p> <p>Is there any way of doing this without needing to build an extremely complex array of for loops?</p> <p>Thanks :)</p>