How can I transfer these equations into MATLAB codes?

1 次查看(过去 30 天)
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 个评论
Star Strider
Star Strider 2018-10-11
Please explain what you want to do with the -- in this:
X''=-(M^-1)*K--(M^-1)*D*X'+(M^-1)*B*u
Yuxing Zhang
Yuxing Zhang 2018-10-11
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by