summaryrefslogtreecommitdiff
path: root/3838/CH6/EX6.4.c/EX6_4_C.sce
blob: 1f3fa7788fac4f134b21e4fd60567cdb997342d1 (plain)
1
2
3
4
5
6
7
8
9
//example 6.4.C
//check the signal is periodic or not
clc ;
n=-15:0.01:15;
y =(1+cos(2*(%pi)*n/8)/2);
xlabel('n')
ylabel('x(n)')
plot(n,y);
disp ( 'Plot  shows that given signal is periodic of fundamental period=4 samples' ) ;