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.
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 (2024). 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 LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Find more on Structural Mechanics in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.