Skip to main content
2 of 2
added 34 characters in body
E. Chan-López
  • 33.7k
  • 3
  • 34
  • 54

Using the eldo's data:

m = Partition[Range @ 100, 10]; 

An alternative is to use TakeDrop:

dropRowsCols[m_, rows : {_, _}, cols : {_, _}] := Part[ TakeDrop[ Transpose[ Part[ TakeDrop[ Transpose @ m, rows ], 2 ]], cols ], 2 ]; dropRowsCols[m, {2, 6}, {2, 3}] // MatrixForm 

enter image description here

E. Chan-López
  • 33.7k
  • 3
  • 34
  • 54