summaryrefslogtreecommitdiff
path: root/67/CH1/EX1.27/example127.sce
blob: 7af90767fece16fbbaa60a32260215030e941375 (plain)
1
2
3
4
5
6
//Example 1.27
//Energy of the signal x(t)=Aexp(-a*t).u(t)
clc;
A=2;
a=0.5;
E=integrate('(A*exp(-a*t))^2','t',0,100);//Energy of the given signal