summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.1.E/Ex2_1_e.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH2/EX2.1.E/Ex2_1_e.sce')
-rw-r--r--3838/CH2/EX2.1.E/Ex2_1_e.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3838/CH2/EX2.1.E/Ex2_1_e.sce b/3838/CH2/EX2.1.E/Ex2_1_e.sce
new file mode 100644
index 000000000..03c82badc
--- /dev/null
+++ b/3838/CH2/EX2.1.E/Ex2_1_e.sce
@@ -0,0 +1,7 @@
+//example 2.1.e
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+y =(1+cos(2*(2*t)-(%pi/3)))/(2);
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=%pi/2' ) ;