How do I find the phase delay between two signal?

26 vues (au cours des 30 derniers jours)
Mauricio Gomez
Mauricio Gomez le 9 Jan 2018
Commenté : Star Strider le 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?

Réponse acceptée

Star Strider
Star Strider le 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 commentaires
Mauricio Gomez
Mauricio Gomez le 23 Jan 2018
Gotcha! Thank you!
Star Strider
Star Strider le 23 Jan 2018
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by