powered by
Generate a random symmetric permutation matrix (recursively)
rsymperm(K)
A random K x K symmetric permutation matrix
K
size of the matrix