Skip to main content

Convolve {3, 5, 6, 9} and {−1, 3, 5}

Short answer

Tabular convolution (both origins at n=0) gives y[n]={-3,4,24,34,57,45} and y[0]=-3.

Find convolution between the signals x[n] = {3, 5, 6, 9} and h[n] = {−1, 3, 5}. Choose your appropriate origin. Show the output signal.

Chosen origin: first sample of each sequence at n=0n = 0: x[n]={3↑,5,6,9}x[n] = \{\underset{\uparrow}{3}, 5, 6, 9\} (0≤n≤30 \le n \le 3) and h[n]={−1↑,3,5}h[n] = \{\underset{\uparrow}{-1}, 3, 5\} (0≤n≤20 \le n \le 2).

y[n]=∑kx[k] h[n−k]y[n] = \sum_k x[k]\,h[n-k]

Output starts at n=0n = 0, length =4+3−1=6= 4 + 3 - 1 = 6, so 0≤n≤50 \le n \le 5.

Tabular method

Rown=0n=0n=1n=1n=2n=2n=3n=3n=4n=4n=5n=5
x[0] h[n]x[0]\,h[n]-3915
x[1] h[n−1]x[1]\,h[n-1]-51525
x[2] h[n−2]x[2]\,h[n-2]-61830
x[3] h[n−3]x[3]\,h[n-3]-92745
y[n]y[n]-3424345745

Direct working

  • y[0]=3(−1)=−3y[0] = 3(-1) = -3
  • y[1]=3(3)+5(−1)=4y[1] = 3(3) + 5(-1) = 4
  • y[2]=3(5)+5(3)+6(−1)=24y[2] = 3(5) + 5(3) + 6(-1) = 24
  • y[3]=5(5)+6(3)+9(−1)=34y[3] = 5(5) + 6(3) + 9(-1) = 34
  • y[4]=6(5)+9(3)=57y[4] = 6(5) + 9(3) = 57
  • y[5]=9(5)=45y[5] = 9(5) = 45

Sum check: (∑x)(∑h)=23×7=161(\sum x)(\sum h) = 23 \times 7 = 161 and −3+4+24+34+57+45=161-3 + 4 + 24 + 34 + 57 + 45 = 161.

Answer (output signal):

y[n]={−3↑, 4, 24, 34, 57, 45}y[n] = \{\underset{\uparrow}{-3},\ 4,\ 24,\ 34,\ 57,\ 45\}

Stem plot drawn sideways (each # = 3; left of | is negative):

 n    y[n]
 0      -3  #|
 1       4   |#
 2      24   |########
 3      34   |###########
 4      57   |###################
 5      45   |###############

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →