summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.1.D/Ex2_1_d.sce
blob: 2be67789d4285ae2b9041ca790c65910dc222f14 (plain)
1
2
3
4
5
6
7
//example 2.1.d
//check the signal is periodic or not
clc ;
t =-15:0.01:15;
y =3*(cos((5*t)+(%pi/6)));
plot(t,y);
disp ( 'Plot  shows that given signal is  periodic with periodicity=2%pi/5' ) ;