Eigenvalues of non-Hermitian matrices: A dynamical and an iterative approach—Application to a truncated Swanson model