diff options
Diffstat (limited to '52/CH1/EX1.13/Example1_13.sce')
-rwxr-xr-x | 52/CH1/EX1.13/Example1_13.sce | 10 |
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));
|