필터 지우기
필터 지우기

extracting phase from ifft on fft of a signal

조회 수: 7 (최근 30일)
elis02
elis02 2018년 9월 25일
편집: elis02 2018년 9월 25일
Hello,
I'm trying to extract a phase ifft function. But i'm getting something not logical (a triangle) In order to complicate the message here, I'm attaching the code. You should open pulsecompress_original.m file. I'm looking at
phi_p_t=unwrap(angle(fout))
this is the part of the code that's relevant to this question:
Fin_w = fftshift(fft(gaussian)); % fft of E field
Fout=Fin_w.*exp(-1i*PhT);
fout=ifft(Fout);
N=sqrt(sum(abs(fout).^2)*dt);
fout=fout/N;
phi_p_t=unwrap(angle(fout));
I need this phi_p_t and than to make differential to it according to time. It should provide me the relevant frequencies around 815nm (this is needed to check that till this point the code is ok)
You can call the function
pulsecompress_original([20 55])
Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by