A general-purpose MATLAB program to find the free vibration response of a viscously damped system.
Steps that must be taken to perform the task:
- Mathematical modeling – represent all the important features of the system; see the figure below for the model.
- Derivation of governing equations. Re-write the equation of motion as a set of first-order differential equations as an anonymous function (“in-code” user defined function).
- Solution of the governing equations. Solve the equations of motion using MATLAB function ode23.
- Interpretation of results. The solution of the governing equations gives the displacements, velocities, and accelerations of the mass of the system. Plot these responses.