blob: 2be3dd31adfffb56d438835b1d9309b2d331196a (
plain)
1
2
3
4
5
6
7
8
9
|
//example 2.1.a
//check the signal is periodic or not
clc ;
t = -15:0.01:15;
y =2*(cos( t/4 ));
plot (t ,y ) ;
xtitle('plot of function 2*cos(t/4)')
xlabel('time-->')
disp ( 'Plot shows that given signal is periodic with period T=8%pi' ) ;
|