How to solve an eigenvalue problem

40 views (last 30 days)
Brendan Wilhelm
Brendan Wilhelm on 21 May 2018
Commented: Bruno Luong on 13 Jul 2022
I have two matrices A and B. A=[2,5;3,6] and B=[5,0;0,7]. They are part of an eigenvalue problem of the form: (A-(lambda)B)x=0. How do I find the eigenvalues and vectors using matlab?

Answers (1)

Ameer Hamza
Ameer Hamza on 21 May 2018
Edited: Ameer Hamza on 21 May 2018
See eig(). You can find them like this
[eigenVectors, eigenValues] = eig(A, B);
eigenValues will be a square matrix with Eigen values at its diagonal.
  2 Comments
Md Ashikuzzaman
Md Ashikuzzaman on 13 Jul 2022
This comment is not useful. He has clealry mentioned a simple problem with value. Solve this if you know
Bruno Luong
Bruno Luong on 13 Jul 2022
@Md Ashikuzzaman why @Ameer Hamza answer is not useful? It rightly answer OP question.

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!