Why not just construct the matrix without the corresponding columns and rows? That preserves the symmetry (as it should of course), gives you a smaller matrix, and you don't have the hassle with the zero columns. Peter