How do I find the phase delay between two signal?
36 views (last 30 days)
Show older comments
Mauricio Gomez
on 9 Jan 2018
Commented: Star Strider
on 23 Jan 2018
I have two signals. Both of which I have applied the fft function to and now want to find the delay as well as a ratio of the amplitude at a certain frequency. How could I accomplish this?
0 Comments
Accepted Answer
Star Strider
on 10 Jan 2018
With respect to the delay, see if the finddelay (link) function will do what you want. (I believe it was introduced in R2015b. The documentation does not say specifically.)
To find the amplitudes at a specific frequency, use the fft (link) function, and compare (subtract or divide) the amplitudes at each frequency, or only your frequency-of-interest if you are only interested in one frequency. The signals must be the same length and have the same sampling frequency for this approach to work optimally.
10 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!