The fourth order system for the truck
Here the solution for Case (b) only is presented. The state space is organized as a matrix in statespace4.m based on the coefficients above. The input is a constant value (step input)
Graphical Solution
Here the right panel shows the final state of the animation. To see the animation you will have to run the code locally. You need to copy two files again - the script file and the function file from the following page