필터 지우기
필터 지우기

upsampling and adding delay to a sequence

조회 수: 2 (최근 30일)
PChoppala
PChoppala 2012년 1월 18일
Hi
I have a simple query.
Suppose i have a signal s = randn(1,10), if I want to add delay 100ms to this signal, what should i do?
I heard about upsampling the signal and then adding zeros, but can you help me with an example code
s = randn(1,8);
delay = 100ms;
s1 = upsample(s,?);
s_delay = [how many zeros, s1]?
Is that approach right?

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 19일
It is not possible to add a delay to a signal unless you know what the sampling frequency is.
  댓글 수: 12
PChoppala
PChoppala 2012년 1월 19일
Hmm, okay, let me see how this goes.... Thank you very much. Good day
PChoppala
PChoppala 2012년 1월 19일
Hi again, Morning!
Just realized that we may use the translation property of Fourier transform, but unable to figure out how.
if h(x) = ƒ(x − x0), then  H(w)= e^{-2 π i x0 ω }F(ω)
Can you help me with this approach?
Cheers

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Filter Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by