eig function not working properly
Mostrar comentarios más antiguos
I use the eig function on a 16x16 matrix and it only returns a vector with 9 entries(eigenvalues). how can I get it to return all the eigen values?
1 comentario
the cyclist
el 7 de Jul. de 2011
Can you post the matrix so we can give it a try?
Respuestas (1)
Jan
el 8 de Jul. de 2011
1 voto
EIG is based on very well tested LAPACK functions. If wrong results are replied, most likely the built-in function is shadowed by a user-defined function or variable. Please use the debugger to go line by line through your caller of EIG. And test EIG in the command window.
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!