summaryrefslogtreecommitdiff
path: root/1592/CH7/EX7.10/Example_7_10.sce
blob: cb27e58d674a0eea6dad8bba6ba8f6de76456bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Scilab Code for Example 7.10 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
disp('h(t)=e^-2*t.u(t)');
for w=1:100
    y(1,w)=integrate('exp(-2*t)','t',0,w);
end
w=1:100;
plot(w,y)
title('Output Signal y(t)');
xlabel('Time');
ylabel('Amplitude');