Second-Order Matrix Differential Equation
1 次查看(过去 30 天)
显示 更早的评论
I am attempting to solve a second-order differential for a double spring-mass-damper system. I was able to work out the math and obtain the differential equation in the format Mx" = Kx' + Bx + F.
M,K,B and F are matrices.
M= [m1 0 0; 0 m2 0; 0 0 m3];
K= [-k1 k1 0; k1 -k1-k2 k2; 0 k2 -k2];
B= [-b1 b1 0; b1 -b1-b2 b2; 0 b2 -b2];
F= [f 0 0];
All variables inside the matrices are random integers. I attempted to approach this in Simulink and also as a system of first order differential but my knowledge in MATLAB was not sufficient to use it as a matrix.
Any help is much appreciated!
4 个评论
James Tursa
2021-3-8
What do you mean by "All variables inside the matrices are random integers"? That you are starting the system off with random parameters but these parameters remain fixed throughout the simulation? Or that you have some type of stochastic system where the parameters change randomly during the simulation?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!