summaryrefslogtreecommitdiff
path: root/3838/CH6/EX6.4.c/EX6_4_C.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH6/EX6.4.c/EX6_4_C.sce')
-rw-r--r--3838/CH6/EX6.4.c/EX6_4_C.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3838/CH6/EX6.4.c/EX6_4_C.sce b/3838/CH6/EX6.4.c/EX6_4_C.sce
new file mode 100644
index 000000000..1f3fa7788
--- /dev/null
+++ b/3838/CH6/EX6.4.c/EX6_4_C.sce
@@ -0,0 +1,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' ) ;