Course AE233-Vibrations
This repository contains a MATLAB script to simulate the free vibration response of a single-degree-of-freedom (SDOF) system with different damping ratios using Newmark's algorithm.
The script performs the following tasks:
- Initializes the system parameters including mass, natural frequency, initial conditions, and damping ratios.
- Uses Newmark's algorithm to simulate the system's response over a specified duration and time step.
- Plots the displacement and velocity responses for different damping ratios.
m
: Mass of the system (kg)wn
: Natural frequency of the system (rad/s)zeta_values
: Array of damping ratios to be simulatedx0
: Initial displacement (m)v0
: Initial velocity (m/s)duration
: Total simulation time (s)dt
: Time step (s)
Newmark's algorithm is an integration method used to solve differential equations of motion. The script uses the following parameters for Newmark's method:
beta = 0.25
gamma = 0.5
The script generates two plots:
- Displacement response over time for different damping ratios.
- Velocity response over time for different damping ratios.
- Clone the repository to your local machine.
- Open MATLAB and navigate to the directory containing the script.
- Run the script to perform the simulation and generate the plots.