summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.2.C/Example2_2_c.sce
blob: 8f0a9dd57a1e283bd81b5a13ecfe9f72d1b9c7a0 (plain)
1
2
3
4
5
6
7
//example 2.2.c
//check the signal is periodic or not
clc ;
t =-6:0.01:6;
y =(5*cos(4*%pi*t))+(3*sin(8*%pi*t));
plot(t,y);
disp ( 'Plot  shows that given signal is  periodic with periodicity=1/2' ) ;