summaryrefslogtreecommitdiff
path: root/52/CH1/EX1.13/Example1_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '52/CH1/EX1.13/Example1_13.sce')
-rwxr-xr-x52/CH1/EX1.13/Example1_13.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/52/CH1/EX1.13/Example1_13.sce b/52/CH1/EX1.13/Example1_13.sce
new file mode 100755
index 000000000..cc281d736
--- /dev/null
+++ b/52/CH1/EX1.13/Example1_13.sce
@@ -0,0 +1,10 @@
+//Example 1.13
+//Program to Compute convolution of given sequences
+//x(n)=[1 2 1 1], h(n)=[1 -1 1 -1];
+clear;
+clc ;
+close ;
+x=[1 2 1 1];
+h=[1 -1 1 -1];
+y=convol(x,h);
+disp(round(y));