summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.15.c/example115c.sce
diff options
context:
space:
mode:
Diffstat (limited to '162/CH1/EX1.15.c/example115c.sce')
-rwxr-xr-x162/CH1/EX1.15.c/example115c.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/162/CH1/EX1.15.c/example115c.sce b/162/CH1/EX1.15.c/example115c.sce
new file mode 100755
index 000000000..f89b8b365
--- /dev/null
+++ b/162/CH1/EX1.15.c/example115c.sce
@@ -0,0 +1,7 @@
+//Example 1.15c
+//Check whether the given signal is periodic or not
+clc;
+t=-20:0.01:20;
+y=sin((%pi/2)*t)+cos((%pi/4)*t);
+plot(t,y);
+disp('Plot shows that the given signal is periodic with period 40'); \ No newline at end of file