## Multi-degree of Freedom System Solver

Version 1.0.2 (1.76 KB) by
Calculates the modal parameters and response of multi-degree of freedom linear system subjected to dynamic forces.

Updated 18 Dec 2021

Calculates the response of multi-degree of freedom classically damped linear system subjected to dynamic forces (using Modal Superposition method [1]).
function Result=MDOF_simulation(M,C,K,f,fs)
input:
M:mass matrix (n*n)
C:damping matrix (n*n)
K:stiffness matrix (n*n)
f:external force matrix(n,N)
fs: sampling frequency
where n is the number of degrees of freedom, N is the length of data points of dynamic force
Output:
Result: is a structure consist of
Result.Displacement: Displacement (n*N)
Result.Velocity: Velocity (n*N)
Result.Acceleration: Acceleration (n*N)
Result.Parameters.Freq=Natural Frequency (n*1)
Result.Parameters.DampRatio=Damping Ratio (n*1)
Result.Parameters.ModeShape=Mode Shapes Matrix (n*n)
References:
[1] Chopra, Anil K. "Dynamics of Structures. Theory and Applications to." Earthquake Engineering (2017).

### Cite As

Ayad Al-Rumaithi (2023). Multi-degree of Freedom System Solver (https://www.mathworks.com/matlabcentral/fileexchange/69509-multi-degree-of-freedom-system-solver), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2017b
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.2

corrected damping ratio equation

1.0.1

Description

1.0.0