I have been asking around if the way I was extracting phase shift (lag) was correct, and I ran into some trouble.
So in general, given 2 arrays of data of the same length, representing:
- the input sinusoid and
- the response, also a sinusoid.
So not knowing the functions that produced the input (but knowing the frequency, starting phase of the input, fs, and so on), what is the best way to find the phase lag?
- should I do it "manually" by looking at the graphs and finding the phase lag at each component?
- should I use FFT, like I have been trying?
any suggestions, links, books are welcome.
No comments:
Post a Comment