On singular values and similarity classes of matrices