How to solve a matrix quadratic equation?

2 vues (au cours des 30 derniers jours)
Isabelle Ietka
Isabelle Ietka le 20 Fév 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!

Réponses (2)

Ajay Kumar
Ajay Kumar le 20 Fév 2020
Kminusw2 = K - w^2;
mymatrix = Kminusw2.*M;
myfinalanswer = det(mymatrix);

Alex Mcaulley
Alex Mcaulley le 20 Fév 2020
syms w
solve(det(K-w^2*M),w)

Catégories

En savoir plus sur Quadratic Programming and Cone Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by