0
Jelly, 25 23 21 bytes
AṂ×ṠṚ
LHŒRṗ2Ç€ḅLĠịFS€
Try it online!
Background (WIP)
We start by replacing its elements with coordinates, increasing leftwards and downwards and placing (0, 0) in the center of the matrix.
For a 7x7 matrix M, we get the following coordinates.
(-3,-3) (-3,-2) (-3,-1) ...