how can use discrete convolution to find the response?

1 Ansicht (letzte 30 Tage)
sara
sara am 31 Mär. 2016
Kommentiert: Image Analyst am 1 Apr. 2016
hi all I am beginner in signal processing. how can I solve below question? thanks

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by