How do you measure the phase difference between two different signals?
Mostra commenti meno recenti
How do you measure the phase difference between two different signals?
2 Commenti
Walter Roberson
il 22 Gen 2011
In pure Matlab, or with the Signal Processing Toolbox?
What exactly are the available inputs? Are the two signals time synchronized? Are they the same sampling frequency? The same duration?
Arif
il 25 Gen 2011
Risposte (1)
James Ramm
il 23 Gen 2011
0 voti
try; help angle
4 Commenti
Walter Roberson
il 25 Gen 2011
That would give you the phase angle of a complex value at a particular point.
Are you suggesting,
angle(complex(A,B))
for the two signals A and B ?
Arif
il 25 Gen 2011
Paulo Silva
il 25 Gen 2011
http://en.wikipedia.org/wiki/Phase_(waves)
James Ramm
il 7 Feb 2011
then simply do like wiki suggests:
A sine (or cosine) equation looks like y=Asin(wx-t) [or y=Acos(wx-t)]. The phase shift is "t." ("A" is the amplitude and "w" is the frequency.)
Compute the shift for each one and subtract, for y=0
Categorie
Scopri di più su Multirate Signal Processing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!