How can I add a shifted version of a signal to the original signal?
9 次查看(过去 30 天)
显示 更早的评论
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
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
2018-9-24
Can you clarify why the result of delayseq() does not satisfy your needs? Thanks.
2 个评论
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!