Azzera filtri
Azzera filtri

extracting phase from ifft on fft of a signal

7 visualizzazioni (ultimi 30 giorni)
elis02
elis02 il 25 Set 2018
Modificato: elis02 il 25 Set 2018
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

Risposte (0)

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by