blob: bd7c3aea1b1e9347217de065bb1f07ef93f32a6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Example 3.32
//Find the input signal
clc;t=1:7;
y=[1 5 10 11 8 4 1];
h=[1 2 1 0 0 0 0];
Y=fft(y,-1);//-1 is taken to obtain the fourier transform of y.
H=fft(h,-1);
X=Y./H;
x=fft(X,1);//1 is taken to obtain the inverse fourier transform of X.
s=round(x);
disp(s,'The deconvolution of the above two sequences is :');
|