Solving Vibration equation of motion?

18 views (last 30 days)
sam plant
sam plant on 24 Aug 2019
Commented: Marco Feder on 16 Sep 2019
Hello,
I'm trying to use ODE45 to solve the vibration equation of motion Mx''+Cx' + Kx = Fsin(w*t)?
If there is an alternative way of doing it then that would be more than appreciated also
  1 Comment
Marco Feder
Marco Feder on 16 Sep 2019
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.

Sign in to comment.

Answers (1)

Prabhan Purwar
Prabhan Purwar on 27 Aug 2019
Hey,
Ordinary differential equations can be solved in following ways:
Using MATLAB
As addressed by you, using ODE45
Using Simulink
I would suggest you making use of Simulink for easy and hustle free results.

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!