Question: MATLAB write a function to go through a 25x25 matrix and create new 5x5 matrices with the values of all columns and rows, withouth erasing
MATLAB write a function to go through a 25x25 matrix and create new 5x5 matrices with the values of all columns and rows, withouth erasing the original matrix. For example: In a 25x25 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
