That sounds all OK. The issue is now whether for a given diagonal matrix D you can find an orthogonal matrix X such that B = XDX' is symmetric (that's automatic) and constant along the diagonal. For this purpose, you might try to make a tridiagonal matrix B. It has the same number of parameters as an arbitrary diagonal matrix.Originally Posted byakscola