blob: 03c82badcc66fb2dcc278ffc4656bc9061fecdf6 (
plain)
1
2
3
4
5
6
7
|
//example 2.1.e
//check the signal is periodic or not
clc ;
t =-15:0.01:15;
y =(1+cos(2*(2*t)-(%pi/3)))/(2);
plot(t,y);
disp ( 'Plot shows that given signal is periodic with periodicity=%pi/2' ) ;
|