Double Mass Damper Mechanical System
Version 1.0.2 (2.11 KB) by
Lazaros Moysis
Simulate a mechanical system with two masses, connected with springs and a damper
The following code simulates a double mass damping system, under a step input. Such a model can be used to represent a car damper for disturbance rejection. The lower mass represents the wheel, the upper mass represents the body of the car.
The system is solved in two ways, either in classic state space form, or using ODEs.
You can find such examples in the classic textbook:
Nise, N. S. (2020). Control systems engineering. John Wiley & Sons.
Educational video on State Space Systems:
Simulate nonlinear systems in Matlab:
Lazaros Moysis
Cite As
Lazaros Moysis (2024). Double Mass Damper Mechanical System (https://www.mathworks.com/matlabcentral/fileexchange/159391-double-mass-damper-mechanical-system), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.