Python State-Space Spring Mass Damper System

Github Python Code
Github Matlab Code

This project used a state-space model of a spring-mass damper system using the forward Euler integration method to model the time domain response of the system. I developed a python class that can be used for any state-space implementation.

Matlab Output:

Python Output:

[[Spring Mass Damper System]]
[[State-Space Model]]