Unexpected phase displacement in FFT of a pure sinewave.
Show older comments
Hi all,
I am working on an algorithm and I'm facing this issue, I want to do a dft of a signal, in order to get a phasor representation of it.
I've tried with a simple case to start with, I send it as an input to my Hanning window, then I process the windowed sequence, what I'm expected to get if my signal is
x(t)= 220e3*cos(2*pi*f*t)
it's a phasor module= 220e3 phase=0 but I get module= 219994,133313801 phase= 7,85398163449812.
Both are a big issue, since no leakege or aliasing is present, any suggestion?
thanks
Alberto
Accepted Answer
More Answers (0)
Categories
Find more on Spectral Analysis 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!