
x' = A x + B u
y = C x + D u
where in MATLAB the entry is:
EDU>> A = [-1,0,-4000; 0,-2,2000; 0.5,-0.5,0]
EDU>> B = [1,0; 0,2000; 0,0]
EDU>> C = [1,0,0; 0,1,0; 0,0,1]
EDU>> D = [0,0; 0,0; 0,0]
The Unit Step Response is,
Signals: Y1, Y2 & Y3 represent the state variables: v1, v2 & i
Signals: U1 & U2 represent the inputs: vi & is

and the Unit Impulse Response is,

For step responses:
Due to input vi we use,

Due to input is use,

For impulse responses:
Due to input vi we use,

Due to input is use,


We can model a large bump at high speed as an impulse. Lets execute the m-script,
The response is,
(Try it out): The impulse bump produces response below the ground. Fix the problem, assuming the bike bounces each time it hit the ground surface. For simplicity, make the bouce a perfect mirror image of the negative response.
For small bump at low speed we use a step. The response is,