how can use discrete convolution to find the response?

3 vues (au cours des 30 derniers jours)
sara
sara le 31 Mar 2016
Commenté : Image Analyst le 1 Avr 2016
hi all I am beginner in signal processing. how can I solve below question? thanks

Réponses (1)

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by