Reflecting impulse response with respect to y-axis

Greetings, I have a discrete-time signal at the +x-axis. I'm having a problem to reflect the signal with respect to the y-axis so that my signal is located at the -x-axis.
Example, I have a impulse response of Hn=[4 2 1 0.5] which means h[0]=4, h[1]=2, h[3]=1 and h[4]=0.5. So i would like to reflect the impulse response with respect to the y-axis so that the response will be h[-3]=0.5, h[-2]=1, h[-1]=2 and h[0]=4.

 Respuesta aceptada

Rick Rosson
Rick Rosson el 11 de Oct. de 2014
Editada: Rick Rosson el 11 de Oct. de 2014
n = -3:0;
h = fliplr(Hn);
stem(n,h);

3 comentarios

Jimmy
Jimmy el 11 de Oct. de 2014
It worked. Thank you so much
Jimmy
Jimmy el 11 de Oct. de 2014
my second question is that how to apply time reversal convolution after reflecting the new impulse response?
Rick Rosson
Rick Rosson el 11 de Oct. de 2014
Please post a new question so that more people will see it.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Measurements and Feature Extraction en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Oct. de 2014

Comentada:

el 11 de Oct. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by