%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Nick Sitarski
%Vladi Gergov
%ECE 317
%Winter 2003
%Professor Awad
%Lab #3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Problem #1
%a
b=1;
a=[1,1];
t=[0:.01:15]';
x=ones(size(t));
clf;
plot(t,x);
hold on,
xlabel('Time in Seconds');
ylabel('Amplitude');
y=lsim(b,a,x,t)
plot(t,y,'r'), grid on
axis([0 15 0 1.5])
legend('Step', 'Response')
line(t,0.99)
disp('hit a key')
pause
clf
