Find Eigenvalues without function "eig"
38 views (last 30 days)
Show older comments
I performed this by hand and know that the eigenvalues are 10, -1, and 4. But clearly that's not what I got... Any help would be nice.
Answers (2)
Paul
on 11 Oct 2020
roots(poly(A))
Though I’m sure one could come with an A for which this approach will fail due to numerical accuracy issues. In which case converting A to a syms object as in another answer may be preferred.
0 Comments
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!