Solving Vibration equation of motion?
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Marco Feder
2019 年 9 月 16 日
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.
回答 (1 件)
Prabhan Purwar
2019 年 8 月 27 日
Hey,
Ordinary differential equations can be solved in following ways:
Using MATLAB
As addressed by you, using ODE45
- https://www.mathworks.com/videos/solving-odes-in-matlab-8-systems-of-equations-117652.html (Differential equation formation and solution video)
- https://www.mathworks.com/help/symbolic/solve-a-single-differential-equation.html#bruif2h (Documentation)
- https://www.mathworks.com/videos/solving-odes-in-matlab-6-ode45-117537.html (Solving using ode45)
Using Simulink
- https://www.mathworks.com/videos/simulink-a-flexible-modelling-environment-to-simulate-real-world-systems-81981.html (Modelling of differential equation video)
I would suggest you making use of Simulink for easy and hustle free results.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!