how can use discrete convolution to find the response?

2 views (last 30 days)
hi all I am beginner in signal processing. how can I solve below question? thanks

Answers (1)

Image Analyst
Image Analyst on 31 Mar 2016
Try this:
x = [0, 0, 1, 0, 0]
h = [0, 2, 1, 0, 0]
output = conv(x, h, 'full')
  2 Comments
sara
sara on 1 Apr 2016
thanks. is 'stem(x)' good for plotting this?
Image Analyst
Image Analyst on 1 Apr 2016
Yes, you could do that, or plot() or bar() - whatever you want.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!