
ylabel(‘ur (in)’,‘FontSize’,11)
xlabel(‘\itt \rm(sec)’,‘FontSize’,11)
title(‘Rear Tire Displacement vs. Time’,‘FontSize’,11)
The first statement runs another M-file ‘‘Chap5_VehParams.m,’’ which loads the parameter
values. The next command sim(‘‘CarDynamics’’) causes execution of the Simulink model
‘‘CarDynamics.mdl.’’
1.75 2 2.25 2.5 2.75 3 3.25 3.5
1.75 2 2.25 2.5 2.75 3 3.25 3.5
1.75 2 2.25 2.5 2.75 3 3.25 3.5
1.75 2 2.25 2.5 2.75 3 3.25 3.5
0
y (in.)y
f
(in.)y
r
(in.)
1
2
3
Vehicle c.g. displacement vs. time
0
1
2
3
Front axle displacement vs. time
0
1
2
3
Rear axle displacement vs. time
−0.4
0
0.4
θ (deg)
Vehicle pitch angle vs. time
t (s)
FIGURE 5.28 Outputs y, y
f
, y
r
,