How to do a convolution for n samples starting from n=0 ?
Mostrar comentarios más antiguos
Hi guys,
My question can be a little bit stupid but im trying to figure it out why the answer of my convolution isn't working. The results should appear in the n=0 and this is not what im getting.
Can someone tell me how can i solve it?
The sequence is:
x=[-1 0 1]
h= [0.5 0.25 0.125] ->(version not flipped by the way)
i should get for n=0 ==> -0.5
Cheers!
2 comentarios
Image Analyst
el 10 de Sept. de 2017
Editada: Image Analyst
el 10 de Sept. de 2017
If n is the number of samples, as you said, then what does it mean when you say n=0? Zero samples????
Jose Marques
el 10 de Sept. de 2017
n is not the number of samples. In discrete convolution, n is a array index.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!