How to solve an eigenvalue problem

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

This comment is not useful. He has clealry mentioned a simple problem with value. Solve this if you know
@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

Asked:

on 21 May 2018

Commented:

on 13 Jul 2022

Community Treasure Hunt

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

Start Hunting!