Computational cost of function eig

3 Ansichten (letzte 30 Tage)
Viviana Arrigoni
Viviana Arrigoni am 12 Dez. 2016
Kommentiert: Walter Roberson am 12 Dez. 2016
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 Kommentare
Walter Roberson
Walter Roberson am 12 Dez. 2016
It depends on the properties of the matrix whose eigenvalues are being taken.
Viviana Arrigoni
Viviana Arrigoni am 12 Dez. 2016
What if the matrix is symmetric?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 12 Dez. 2016
https://en.m.wikipedia.org/wiki/Eigenvalue_algorithm
  1 Kommentar
Walter Roberson
Walter Roberson am 12 Dez. 2016
You should probably assume that for sufficiently large arrays that MATLAB invokes one of the below routines:

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by