Monday, May 21, 2012

How to calculate using convolution?

 

I'm learning about convolution in my Digital Signal Processing class and I just can't seem to understand convolution.

An example from my book is as follows:
x(n)={1,4,2,3,5,3,3,4,5,7,6,9}
h(n)={1,2,1}
calculate y(n).

I don't understand how they got the answer of y(n)={1,6,11,11,13,16,14,13,15,21,25,28,…

The steps in the book didn't make any sense to me.

Best Answer - Chosen by Asker

consider each input signal sample to be an impulse input of the magnitude shown
h(n) is the shape of the response to each unit impulse. So list the input times the first element of h(n)
underneath that list the input times the 2nd element of h(n) SHIFTED to the right
then times third element and shifted again

01 04 02 03 05 03 03 --------
--- 02 08 04 06 10 06 06-------
---------01 04 02 03 05 03 03--------
sum--------------------------------
01 06 11 11 13 16 14------------

Thanks Man... you saved my day!


http://answers.yahoo.com/question/index?qid=20111016235249AAt2hqC

No comments:

Post a Comment

Blog Archive