Why does Jordan function take so long?
4 views (last 30 days)
Show older comments
Viviana Arrigoni
on 11 Dec 2016
Answered: John D'Errico
on 11 Dec 2016
I noticed that the function "jordan" applied on a square matrix A takes really long to output the canonical Jordan form of A, J, and the change of basis matrix Q, even when A is a small matrix. I am wondering why is it so? Why is "jordan" so slower than function "eig", how is it implemented? Thank you in advance.
0 Comments
Accepted Answer
John D'Errico
on 11 Dec 2016
Jordan works on the matrix in symbolic form. You cannot possibly expect a symbolic solution to operate as fast as an operation computed using double precision arithmetic.
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!