How to solve a matrix quadratic equation?

8 visualizzazioni (ultimi 30 giorni)
Isabelle Ietka
Isabelle Ietka il 20 Feb 2020
Risposto: Alex Mcaulley il 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!

Risposte (2)

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

Alex Mcaulley
Alex Mcaulley il 20 Feb 2020
syms w
solve(det(K-w^2*M),w)

Community Treasure Hunt

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

Start Hunting!

Translated by