clear all
home
t=[0:0.01:4]';
num=[0 20];
den=[1 2];
systm =tf(num,den);            %defines system transfer function
ys = step(systm,t);             %finds step response for time interval defined by t
plot(t,ys)
ltiview