How to Correctly Convolve x[n] with a Unit Step Function?

  • Thread starter Thread starter redundant6939
  • Start date Start date
  • Tags Tags
    Convolution Unit
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
redundant6939
Messages
10
Reaction score
0

Homework Statement


Find convolution of x[n] (graph in attachment) and h[n] where h[n] = u[n]
Capture.PNG

Homework Equations

The Attempt at a Solution


- flipped the h[n] to have h[-n]
- moved to the left once (h[-1-n]) to align
- multiplied h and x and it gives me all zeros

Is this correct or I'm missing something?
 
Physics news on Phys.org
I don't know about your graphical algorithm but if you use the definition

y[n] = x[n]*h[n] = ∑ (k = -∞ to +∞) x[k] h[n-k]

then I get a non-zero sequence of numbers:

a+0.5, b+0.5, c+0.5, c+0.5, d+0.5, d+0.5, d+ 0.5, ...

wher a, b , c, and d are positive integers for you to find.
 
Just think x(n) as sum of shifted and scaled impulses . Since you know the convolution of a signal h(n) with shifted impulse will be shifted h(n) and then you add them .