How do you measure the phase difference between two different signals?
6 views (last 30 days)
Show older comments
How do you measure the phase difference between two different signals?
2 Comments
Walter Roberson
on 22 Jan 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?
Answers (1)
James Ramm
on 23 Jan 2011
try; help angle
4 Comments
James Ramm
on 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
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!