summaryrefslogtreecommitdiff
path: root/2294/CH8/EX8.26/EX8_26.sce
blob: a58de63127d1d5c8582c313455223669e80a4bff (plain)
1
2
3
4
5
6
7
8
9
10
11
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:');