C is a sparse matrix. The error is claiming that the "eig" function doesn't work with sparse matrices. That's not true on my version of matlab (7.1). So either it depends on your version of matlab, or your "C" is too large or something and is causing eig to give up.
|