Computational cost of function eig

I am wondering what is the computational cost (using asymptotic notation) of function eig in MatLab r2016, and what algorithm is used to compute the diagonal matrix and the change of basis matrix. In this discussion http://it.mathworks.com/matlabcentral/answers/10335-computational-complexity-of-eig-and-pinv it says it is something around O(n^3), or maybe something less, but why? Thank you in advance

3 件のコメント

Adam
Adam 2016 年 12 月 12 日
You can estimate this roughly for yourself simply by running a test on different sizes of input. If you are able to look inside the code by simply opening the file then you will be able to see what algorithm is used. If you can't then it is likely because it is proprietary Mathworks code.
Walter Roberson
Walter Roberson 2016 年 12 月 12 日
It depends on the properties of the matrix whose eigenvalues are being taken.
Viviana Arrigoni
Viviana Arrigoni 2016 年 12 月 12 日
What if the matrix is symmetric?

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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 12 月 12 日

0 投票

https://en.m.wikipedia.org/wiki/Eigenvalue_algorithm

1 件のコメント

Walter Roberson
Walter Roberson 2016 年 12 月 12 日
You should probably assume that for sufficiently large arrays that MATLAB invokes one of the below routines:

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

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2016 年 12 月 12 日

コメント済み:

2016 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by