summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.4.c/EX2_4_c.sce
blob: f13fa451a2713532d0742a5b7accef30bb1aa784 (plain)
1
2
3
4
5
6
//Example 2.4.c
clc;
a=2;
P=(integrate('(3*cos(0.1*(%pi)*t))^(2)','t',-100,100)/(2*100))//power of given signal t=100
disp(P)
disp('AS POWER OF THE GIVEN SIGNAL IS FINITE HENCE THE GIVEN SIGNAL IS POWER SIGNAL');