Are there any known issues (such as precision issues) with $\mathsf{MATLAB}$ eig and charpoly functions for large enough $\{-1,0,+1\}$ matrices?
Even if I change $1$ or $2$ entries between matrices would it be able to find the accurate eigenvalues and characteristic polynomials? I am using size less $40\times40$.
My matrices are full rank and symmetric. The condition number of the matrices seems in mid $100$s to $10^{15}$ while absolute value of sum of rows/columns is same.
If I can get char poly that is good enough for me.
eig. For example,X = horzcat(-ones(10, 1), vertcat(eye(9), (1:9)==9)); disp(X); eig(X)has all zero eigenvalues, but eig would give them on order of $10^{-3}$. I believe you can expect eig to be accurate when the matrix of eigenvectors $X$ has a low condition number, and error in eigenvalues would be on order of $\epsilon_{\mathrm{mach}} \kappa(X)$. – Kirill Dec 25 '15 at 03:18gallerythat have sensitive eigenvalues but consist of ${0,\pm1}$. There is also a related question here: http://scicomp.stackexchange.com/questions/17517/diagonalization-of-matrix-omitting-small-matrix-elements – Kirill Dec 25 '15 at 03:20