Coding the Mass-Spring-Damper System in MATLAB (2/2)

Virginia Tech ME 2004: Coding the Mass-Spring-Damper System in MATLAB (2/2) This two-part video series implements the famous mass-spring-damper system into MATLAB. The solutions are obtained via ode45(). The previous video introduces the system and decomposes the governing 2nd-order ODE into a series of coupled 1st-order ODEs. This video solves the system via MATLAB's ode45() and illustrates a few test cases involving various damping values and forcing functions. mck() function: https://bit.ly/mck_function Blank .m file: https://bit.ly/mck_blank Master (complete and commented) file: https://bit.ly/mck_master Problem statement: https://bit.ly/mck_problem