Matlab Write A Function To Go Through A 25×25 Matrix And Create New 5×5 Matrices Wit 3345913

MATLAB write a function to go through a 25×25 matrix and create new 5×5 matrices with the values of all columns and rows, withouth erasing the original matrix. For example: In a 25×25 matrix the first sub matrix would be rows 1 to 5 and columns 1 to 5, the second sub matrix would then be rows 1 to 5 but columns 2 to 6, and so on, until it reaches row 21 and column 25.