"Michelle " <
michellem...@gmail.com> wrote in message <jrqb4r$s4c$
1...@newscl01ah.mathworks.com>...
> I have a sparse matrix that I cannot write in its full form (out of memory if I try)
>
> The way I constructed my matrix, it is supposed to be a symmetric matrix but when I compute eigs it gives me complex values as a solution.
==================
Is it real?
> I'm pretty sure that matlab is not handling the symmetry. A start point for me would be to check if my sparse matix is symmetric.
>
> Any suggestions? Thanks
==============
[i,j,s]=find(A);
[I,J,S]=find(A.');
issymetric=isequal([i,j,s], [I,J,S]);