diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2294/CH8/EX8.27/EX8_27.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2294/CH8/EX8.27/EX8_27.sce')
-rwxr-xr-x | 2294/CH8/EX8.27/EX8_27.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2294/CH8/EX8.27/EX8_27.sce b/2294/CH8/EX8.27/EX8_27.sce new file mode 100755 index 000000000..15af19547 --- /dev/null +++ b/2294/CH8/EX8.27/EX8_27.sce @@ -0,0 +1,12 @@ +
+//Example 8.27
+//Find the circular convolution of the following sequences
+clc;
+clear all;
+x1=[1 -1 2 3];
+x2=[0 1 2 3];
+X1=fft(x1,-1);//To obtain fourier transform of x1, -1 is taken.
+X2=fft(x2,-1);
+X3=X1.*X2;
+x3=fft(X3,1);//+1 to obtain inverse fourier transform.
+disp(x3,'Circular convolution of the above two sequences is:');
|