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

 채택된 답변

Image Analyst
Image Analyst 2012년 9월 6일
편집: Image Analyst 2021년 4월 13일
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

It's the kernel (filter window weights) that will shift the signal by one element.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2012년 9월 6일

댓글:

2021년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by