How to find the phase difference between two signals

Hi,
I would like to know how can I find the phase difference between:
s1=sin(wt)
s2=sin(wt+theta)
Is there a way to find theta given two graphics? How to find the delay and convert to angle.
If possible, give some codes and a brief explanation of them.
Thanks!

Réponses (1)

Honglei Chen
Honglei Chen le 11 Mai 2012

0 votes

You can multiply, i.e., mix, the two signal and do a low pass filtering. You will then basically get a signal of cos(theta). I'm not sure if I understand your second question regarding convert the delay to angle, can you fill in more information here?

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Question posée :

le 11 Mai 2012

Community Treasure Hunt

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

Start Hunting!

Translated by