(Matlab) How to find inverse using eig

  • Thread starter Thread starter asynja
  • Start date Start date
  • Tags Tags
    Inverse Matlab
Click For Summary
To find the inverse of a matrix using the 'eig' function in Matlab, one can utilize eigendecomposition, which involves calculating the eigenvalues and eigenvectors of the matrix. This method is rooted in the Cayley-Hamilton theorem, allowing the inverse to be derived from the characteristic polynomial. While there are alternative functions like 'poly' for finding the inverse, eigendecomposition provides a more analytical approach. Resources for this method can be easily found online, including detailed explanations on platforms like Wikipedia. Understanding this process can enhance proficiency in numerical methods and Matlab usage.
asynja
Messages
15
Reaction score
0
(Matlab) How to find inverse using "eig"

I'm doing a project for Numerical Methods and one of the questions is how to find an inverse of a (random) matrix using Matlab function 'eig'. I know the solution is probably simple, but I almost never used Matlab before, besides, lectures were horrible and notes aren't helping. Anyway, this question bothers me because I can't recall any analytical way of calculating inverse matrix using eigenvalues. There is a consequence of Cayley-Hamilton theorem, where you can find the inverse of A from its characteristic polynomial. But if this is what they're asking to do, then why use 'eig' in Matlab, when there's 'poly' ...
 
Physics news on Phys.org
Last edited by a moderator:

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
28K
Replies
11
Views
6K