summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.3.b/example13b.sce
blob: 8318edd98c155309bd2ddfafb0a5fe64db46fc1f (plain)
1
2
3
4
5
6
7
8
9
//Example 1.3b
//Find whether the the given signal is energy or power signal
clc;
b=0.5;
t=0:0.001:10;
y=exp(-b*t);
E=integrate('(exp(-b*t))^2','t',0,2*%pi);
disp(E,'Energy of the signal is');
disp('Since the energy of the given signal is finite so we can say that this signal is an energy signal');