I have several matrices of different sizes(see attached) that i would like to be able to take the difference of. The values are of strain computations. They all have a hole at roughly the center of the matrix, characterized by a value of zeros. I would like to the find the center of the hole, then resize the matrix to be the size of a ROI, For Example 80×35.
MATLAB: Resize a matrix by finding a hole and selecting a ROI around the hole
center of matrixmatrixresizeroi
Best Answer