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

조회 수: 12 (최근 30일)
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
Image Analyst
Image Analyst 2021년 4월 13일
It's the kernel (filter window weights) that will shift the signal by one element.

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

추가 답변 (2개)

Muhammad Qutab ud din
Muhammad Qutab ud din 2012년 9월 6일
actually i was wondering the same..

Muhammad Qutab ud din
Muhammad Qutab ud din 2012년 9월 6일

카테고리

Help CenterFile Exchange에서 Digital Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by