02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linear Convolution Using the DFT 181<br />

⎡<br />

=<br />

⎢<br />

⎣<br />

=<br />

∞∑<br />

r=−∞ m=0<br />

[ ∞<br />

∑<br />

r=−∞<br />

N∑<br />

1−1<br />

x 1 (m)x 2 (n − m − rN)<br />

⎥<br />

⎦ R N (n)<br />

} {{ }<br />

x 3(n−rN)<br />

]<br />

x 3 (n − rN)<br />

⎤<br />

R N (n) using (5.43)<br />

This analysis shows that, in general, the circular convolution is an aliased<br />

version of the linear convolution. We observed this fact in Example 5.15.<br />

Now since x 3 (n) isanN =(N 1 + N 2 − 1)-point sequence, we have<br />

x 4 (n) =x 3 (n); 0 ≤ n ≤ (N − 1)<br />

which means that there is no aliasing in the time domain.<br />

Conclusion: If we make both x 1 (n) and x 2 (n) N = N 1 + N 2 − 1point<br />

sequences by padding an appropriate number of zeros, then the circular<br />

convolution is identical to the linear convolution.<br />

□ EXAMPLE 5.16 Let x 1(n) and x 2(n) bethe following two 4-point sequences.<br />

x 1(n) ={1, 2, 2, 1} , x 2(n) ={1, −1, −1, 1}<br />

a. Determine their linear convolution x 3(n).<br />

b. Compute the circular convolution x 4(n) sothat it is equal to x 3(n).<br />

Solution<br />

We will use MATLAB to do this problem.<br />

a. MATLAB Script:<br />

>> x1 = [1,2,2,1]; x2 = [1,-1,-1,1]; x3 = conv(x1,x2)<br />

x3 = 1 1 -1 -2 -1 1 1<br />

Hence the linear convolution x 3(n) isa7-point sequence given by<br />

x 3(n) ={1, 1, −1, −2, −1, 1, 1}<br />

b.We will have to use N ≥ 7. Choosing N =7,wehave<br />

>> x4 = circonvt(x1,x2,7)<br />

x4 = 1 1 -1 -2 -1 1 1<br />

Hence<br />

x 4 = {1, 1, −1, −2, −1, 1, 1} = x 3(n)<br />

□<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!