a matrix equation problem

Could you please help me to write this equation code
I have two matrix A, B. These matrices are square matrix 4*4,6*6 or etc and known. My equation is det(A-B*x^2)=0 How will I find x values

Answers (1)

If B is invertible:
x = sqrt(eig(B\A))
Reason: det(A-B*x^2) = 0
implies that
det(B\A-I*x^2) = 0
If B is not invertible, this won't work.

This question is closed.

Asked:

on 30 Nov 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!