function A = zero_middle(B)

A = B;
A((end+1)/2,(end+1)/2) = 0;