The exact solution of a damped Single Degree Of Freedom (SDOF) system is excited by a harmonic force is calculated . It is compared to the numerical solution provided by the Matlab built-in function ode 45, the central difference method, Newmark method and the 4th order Runge-Kutta method, the implementation of which is based on the book from S. Rao .
The repositroy contains:
- The function RK4.m, which solves numerically the equations of motion of a damped system with the 4th order Runge-Kutta method
- The function Newmark.m, which solves numerically the equations of motion of a damped system with Newmark's method
- The function CentDiff.m, which solves numerically the equations of motion of a damped system with the central difference method
- A Matlab livescript Documentation.mlx for the documentation
 Daniel J. Inman, Engineering Vibrations, Pearson Education, 2013
 Singiresu S. Rao, Mechanical Vibrations,Prentice Hall, 2011
E. Cheynet (2022). Harmonic excitation of a SDOF (https://github.com/ECheynet/Excitation_SDOF/releases/tag/v2.2.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!