필터 지우기
필터 지우기

Frequency domain delay and correlation

조회 수: 1 (최근 30일)
Paolo Rossi
Paolo Rossi 2015년 5월 12일
편집: Paolo Rossi 2015년 5월 13일
Hi, i have a signal S and i like to delay it in frequency domain. This is a little example of the code:
s = wgn(1,100,1); %White Gaussian Noise
sfft = fft(s)
sfft_shift = sfft.*exp(-i*2*pi*f*delay)
s_delay = ifft(sfft_shift)
i have some question:
1) delay should be express in second (continous) or in samples ? or it doesn't matter?
2) when i calculate the autocorrelation of the signal s the coefficient is 1. It is perfectly correlate. But when i calculate the crosscorrelation beetween s and s_delay with xcorr(s,s_delay,'coeff'), the coefficient is not 1 but it seems that the two signal s and s_delay are not completely correlate why?
Thanks Paolo

답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by