Hello. I have a question about how to get spectral phase as exact as possible by using fft?
5 views (last 30 days)
Show older comments
Hello.
I'm interested in spectral analysis on laser pulse. In order to get shortest pulse as possible, not only spectral amplitude is important, but also spectral phase is since the phase plays like how to contruct pulse by using given material appeared as the spectral amplitude.
Anyway, I tested fft on gaussian laser pulse and expected spectral amplitude is obtained while spectral phase is not. The analytic answer is that the phase profile are all zero over the spectrum. However, in this test, sawteech-like phase profile is obtained and applying unwrap command gives continuously decresing linear profile.
I uploaded similar questions before and I got answer that DFT is not able to give perfect phase profile. (I'm afraid that my interpretation of the answer is correct however it sounds like that.)
The following is line to my previous question.
Is it really true that getting phase by using fft is hard?
If so, is there any other way to overcome this difficulty?
I still believe that there should be something what I still miss..
1 Comment
Ramya Ponna
on 17 May 2016
Edited: Ramya Ponna
on 17 May 2016
You need to use the unwrap command to extract the phase of the spectrum.In ur program u have used only angle command to extract the phase but u need to use unwrap(angle(fft of spectrum))
So,add this unwrap command in addition to angle you will get the expected spectral phase :)
Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!