Special matrices

Switch between a diagonal matrix and a symmetric matrix to see the pattern.