I have two square matrices and want all the cells to reflect their quadrant in the matrix
for x for y
-+ - -
The matrices are 100x100 and the axes are row/columns 50 and 50. All values are default 0 or positive.
m(1:50,:) = -m(1:50,:); %This only makes the top quads negative in both matrices.