FEM MATLAB code for Newmark 1D dynamic analysis of a 4 DOFs structure

Visit http://CivilEngineeringBible.com for newer posts and files

Here is the result of my MATLAB code for dynamic analysis of a four degrees of freedom structure:

Newmark method is used in this program.

Feel free to contact me via email (hosseinali.sut@gmail.com) for MATLAB files:
newmark_1d.m