(Matlab) How to find inverse using eig

  • Thread starter Thread starter asynja
  • Start date Start date
  • Tags Tags
    Inverse Matlab
Click For Summary
SUMMARY

The discussion focuses on finding the inverse of a matrix using the MATLAB function 'eig'. The method involves utilizing eigendecomposition, which leverages the eigenvalues and eigenvectors of the matrix. The Cayley-Hamilton theorem is referenced as a theoretical foundation for this approach. The user expresses confusion over the necessity of using 'eig' instead of the 'poly' function, highlighting a gap in understanding MATLAB's capabilities for numerical methods.

PREREQUISITES
  • Understanding of eigendecomposition in linear algebra
  • Familiarity with MATLAB programming environment
  • Knowledge of the Cayley-Hamilton theorem
  • Basic concepts of eigenvalues and eigenvectors
NEXT STEPS
  • Research MATLAB's 'eig' function and its applications in matrix operations
  • Study the Cayley-Hamilton theorem and its implications for matrix inverses
  • Explore the process of eigendecomposition in detail
  • Learn about the 'poly' function in MATLAB and its use in polynomial calculations
USEFUL FOR

Students and professionals in numerical methods, MATLAB users, and anyone interested in advanced matrix operations and linear algebra techniques.

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
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
15
Views
3K
  • · Replies 34 ·
2
Replies
34
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