How do I find the phase delay between two signal?

26 visualizaciones (últimos 30 días)
Mauricio Gomez
Mauricio Gomez el 9 de En. de 2018
Comentada: Star Strider el 23 de En. de 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?

Respuesta aceptada

Star Strider
Star Strider el 10 de En. de 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 comentarios
Mauricio Gomez
Mauricio Gomez el 23 de En. de 2018
Gotcha! Thank you!
Star Strider
Star Strider el 23 de En. de 2018
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by