If you want to give it to ODE45 you need to write your equation as a first order system. Assuming M to be an invertible you can easily solve the problem.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 件のコメント
Marco Feder (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/477420-solving-vibration-equation-of-motion#comment_746547
サインイン to comment.