필터 지우기
필터 지우기

How can I add a shifted version of a signal to the original signal?

조회 수: 5 (최근 30일)
Kaviya Baiju Thoppil
Kaviya Baiju Thoppil 2018년 9월 20일
댓글: Honglei Chen 2018년 10월 2일
I have a complex signal x of size (1,4096), I want to add another signal y which is the shifted version of x by 0.3. I am working on signals in frequency domain here. I tried delayseq() function but did not give me a shifted sequence it just overlaps on x. Could you tell me another way of delaying or advancing or shifting x???
  댓글 수: 1
Rishabh Rathore
Rishabh Rathore 2018년 9월 27일
Delaying a signal does not change the frequencies that are present in the signal and since your signal is in frequency domain, you observe the overlap of the initial signal and the shifted signal. Try converting your signal to time domain then shift the signal and add. Then convert the resulting time domain signal to frequency domain. This way you should be able to observe the change.

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

답변 (1개)

Honglei Chen
Honglei Chen 2018년 9월 24일
Can you clarify why the result of delayseq() does not satisfy your needs? Thanks.
  댓글 수: 2
Kaviya Baiju Thoppil
Kaviya Baiju Thoppil 2018년 10월 2일
Thank you for your replies. Delayseq() gives me a result that is not time shifted in frequency or time domain. I tried applying the function in time domain adding it and converting it back to the frequency domain. I will attach a figure of the signal i get you can clearly see there is no time shift. Is there any other way to shift a signal and add it to the original signal?
Ts=8e3;
p=ifft(ifftshift(qomega));
y=delayseq(p,rmsspectralwidth,Ts);
delay_signal=fftshift(fft(y+p));
plot(fs,[abs(qomega);abs(delay_signal)]);
legend
Honglei Chen
Honglei Chen 2018년 10월 2일
I don't understand, you are plotting two spectrums. If you a delaying a signal, that doesn't change the spectrum magnitude.

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

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by