eig function not working properly

조회 수: 3 (최근 30일)
Emad
Emad 2011년 7월 7일
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
the cyclist 2011년 7월 7일
Can you post the matrix so we can give it a try?

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2011년 7월 8일
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.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by