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