Say i have a matrix

A=[1 5 9 13 17 21…..

2 6 10 14 18 22……

3 7 11 15 19 23

4 8 12 16 20 24 …….]

And want to bring that into this shape

A_=[1 5 9 13

2 6 10 14

3 7 11 15

4 8 12 16

17 21 25 29

18 22 26 30

…………………]

Essentially cutting the above matrix into 4*4 and then continuing to the right and bring it down in to the new matrix.How do i do this?thank you

## Best Answer