MATLAB_program_Solv​ing_ODEs_harmonic_o​scillators

A general-purpose MATLAB program to find the free vibration response of a viscously damped system.
109 Downloads
Updated 23 Nov 2020

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:

1. Mathematical modeling – represent all the important features of the system; see the figure below for the model.
2. 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).
3. Solution of the governing equations. Solve the equations of motion using MATLAB function ode23.
4. Interpretation of results. The solution of the governing equations gives the displacements, velocities, and accelerations of the mass of the system. Plot these responses.

Cite As

Emmanuel J Rodriguez (2024). MATLAB_program_Solving_ODEs_harmonic_oscillators (https://github.com/mannyjrod/MATLAB_program_Solving_ODEs_harmonic_oscillators/releases/tag/1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.