If you want to use the Symbolic Math Toolbox:
syms s
Gs=(1000)/(s^2+34.5*s+1000);
Rs=1/s;
Cs=Gs*Rs
Ct=ilaplace(Cs)
figure
fplot(Ct, [0 0.35])
hold on
plot([0 0.35], [1 1], ':k')
hold off
title('Step Response')
figure
fplot(ilaplace(Gs), [0 0.35])
hold on
% plot([0 0.35], [1 1], ':k')
hold off
title('Impulse Response')
To use the Control System Toolbox functions:
s = tf('s');
Gs=(1000)/(s^2+34.5*s+1000);
Rs=1/s;
Cs=Gs*Rs
figure
step(Gs)
figure
bode(Gs)
.