MATLAB Answers

How to solve a matrix quadratic equation?

33 views (last 30 days)
Isabelle Ietka
Isabelle Ietka on 20 Feb 2020
Answered: Alex Mcaulley on 20 Feb 2020
How can I solve this kind of determinant equation? Here is the example:
det(K-w²*M)=0
Where I know de matrix K (3x3) and M (3x3), and have to find the vector w.
Waiting to your reply, thank you in advance!

Answers (2)

Ajay Kumar
Ajay Kumar on 20 Feb 2020
Kminusw2 = K - w^2;
mymatrix = Kminusw2.*M;
myfinalanswer = det(mymatrix);

Community Treasure Hunt

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

Start Hunting!