How can I transfer these equations into MATLAB codes?

I am new with MatLab,and I want to know how can I transfer the following vibration equations into MatLab codes.
X''=-(M^-1)*K--(M^-1)*D*X'+(M^-1)*B*u
Sys=ss(A,B,C,D)
And M,K,D,B are matrix that I already get.
Thank you.

2 commentaires

Please explain what you want to do with the -- in this:
X''=-(M^-1)*K--(M^-1)*D*X'+(M^-1)*B*u
Thank you for asking, now I input the four matrix values and want to know if there's a code that I can use to relate the x'' with x'=Ax+Bu and y=Cx. so that I can get matrix A,B,C,D.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Robust Control Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by