フィルターのクリア

For an n x n matrix, does matlab calculate the eigenvalues in some pattern? If not, is there a way to make it so?

1 回表示 (過去 30 日間)
I have two predetermined matrices A,B of size 4 x 4. I have a function whose independent variable is some complex number z and produces the eigenvalues of (A-z*B). Upon plotting however, strange blotches show up which I suspect are areas of discontinuity. However, the function is not discontinuous. Therefore, I think MATLAB may be mixing up the eigenvalues somehow. I don't know how the eigenvalues are organized but is there a way to ensure that the eigenvalues are grouped correctly?
  3 件のコメント
Matt J
Matt J 2013 年 6 月 4 日
Since A and B are simply 4x4, why don't you tell us what they are and give us the range of z needed to duplicate your plots?
Hayashi
Hayashi 2013 年 6 月 5 日
Do you mean there is no definitive grouping for eigenvalues in MATLAB or within a mathematical context? As for the matrices being 4x4, I really should have said that was simply an example. Most of the matrices will be at least 16x16. As for the range, I tend to adjust it so that the plot shows the eigenvalues.

サインインしてコメントする。

採用された回答

James Tursa
James Tursa 2013 年 6 月 4 日
You might try this FEX submission by John D'Errico:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalues & Eigenvectors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by