eig function not working properly

4 ビュー (過去 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 Center および File ExchangeLinear Algebra についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by