diff options
Diffstat (limited to '2294/CH8/EX8.26')
-rwxr-xr-x | 2294/CH8/EX8.26/EX8_26.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2294/CH8/EX8.26/EX8_26.sce b/2294/CH8/EX8.26/EX8_26.sce new file mode 100755 index 000000000..a58de6312 --- /dev/null +++ b/2294/CH8/EX8.26/EX8_26.sce @@ -0,0 +1,12 @@ + +//Example 8.26
+//Find the circular convolution of two sequences
+clc;
+clear all;
+x1=[1 2 3 4];
+x2=[1 -1 2 1];
+X1=fft(x1,-1);
+X2=fft(x2,-1);
+X3=X1.*X2;
+x3=fft(X3,1);
+disp(x3,'The circular convolution is:');
|