07 Convolution
07 Convolution
CONVOLUTION
• The relationship between the input to a linear shift-invariant system, x(n), and the output, y(n), is
given by the convolution sum
• h(n)=impulse response
• x(n)=input
• x(n)=impulse response
• h(n)=input
CONVOLUTION PROPERTIES
𝑥 ( 𝑛 ) ∗ h ( 𝑛 ) = h ( 𝑛 ) ∗ 𝑥 ( 𝑛 ) [ 𝑥 ( 𝑛 ) ∗ h1 ( 𝑛 ) ] ∗ h 2 ( 𝑛 ) = 𝑥 ( 𝑛 ) ∗ [ h1 ( 𝑛 ) ∗ h2 ( 𝑛 ) ]
CONVOLUTION PROPERTIES
DISTRIBUTIVE PROPERTY
𝑥(𝑛)∗[h1(𝑛)+h2(𝑛)]=𝑥(𝑛)∗h1(𝑛)+𝑥(𝑛)∗h2(𝑛)
PERFORMING CONVOLUTIONS
DIRECT EVALUATION
• What is ?
SOLUTION
EXAMPLE
Steps:
1. Plot both sequences, x(k) and h(k), as functions of k
2. Choose one of the sequences, say h(k), and time-reverse it to form the sequence h(-k)
3. Shift the time reversed sequence by n. Note that if n>0, this corresponds to a shift to the right (delay), whereas if n<0, this
corresponds to a shift to the left (advance)
4. Multiply the sequences x(k) and h(n-k) and sum the product for all values of k. The resulting value will be equal to y(n). This
process is repeated for all possible shifts, n.
5. A useful fact to remember in performing the convolution of 2 finite-length sequences is that if x(n) is of length , and h(n) is of
length , will be of length
6. Furthermore, if the nonzero values of x(n) are contained in the interval and the nonzero values of h(n) are contained in the
interval , the nonzero values of y(n) will be confined to the interval
EXAMPLE
SOLUTION
NUMERICAL CALCULATION
SLIDE RULE METHOD
1. Write the values of x(k) along a piece of paper, and the values of h(-k)
along the top of another piece of paper as illustrated
2. Line up the two sequence values x(0) and h(0), multiply each pair of
numbers, and add the products to form the value of y(0)
3. Slide the paper with the time-reversed sequence h(k) to the right by
one, multiply each pair of numbers, sum the products to find the value
of y(1), and repeat all shifts to the right by n>0. Do the same, shifting
the time-reversed sequence to the left, to find the values of y(n) for
n<0