eig function not working properly
显示 更早的评论
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 个评论
the cyclist
2011-7-7
Can you post the matrix so we can give it a try?
回答(1 个)
Jan
2011-7-8
1 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!