image thumbnail

Multi-degree of Freedom System Solver

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

1.9K Downloads

Updated18 Dec 2021

View License

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:外力矩阵(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
结果。Displacement: Displacement (n*N)
结果。Velocity: Velocity (n*N)
结果。Acceleration: Acceleration (n*N)
结果。参数s.Freq=Natural Frequency (n*1)
结果。参数s.DampRatio=Damping Ratio (n*1)
结果。参数s.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 (2022).Multi-degree of Freedom System Solver(//www.tianjin-qmedu.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!