How can we scale and delay a signal using convolution in Matlab? Plz help

12 visualizaciones (últimos 30 días)
How can we scale and delay a signal using convolution in Matlab? Plz help

Respuesta aceptada

Image Analyst
Image Analyst el 6 de Sept. de 2012
Editada: Image Analyst el 13 de Abr. de 2021
How about this for scaling:
signal = randi(9, 1,10)
amplificationFactor = 10;
scaledSignal = conv(signal, amplificationFactor)
and this for delay:
delayKernel = [ 0 0 1]; % 1 must not be the center element.
delayedSignal = conv(signal, delayKernel, 'same')
because this might be homework, I'm going to let you combine them.
  3 comentarios
Image Analyst
Image Analyst el 13 de Abr. de 2021
It's the kernel (filter window weights) that will shift the signal by one element.

Iniciar sesión para comentar.

Más respuestas (2)

Muhammad Qutab ud din
Muhammad Qutab ud din el 6 de Sept. de 2012
actually i was wondering the same..

Muhammad Qutab ud din
Muhammad Qutab ud din el 6 de Sept. de 2012

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by