How do I find the phase delay between two signal?
26 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuesta aceptada
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
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!