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 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Robust Control Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 11 Okt. 2018

Bearbeitet:

am 11 Okt. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by