How do you measure the phase difference between two different signals?

6 次查看(过去 30 天)
How do you measure the phase difference between two different signals?
  2 个评论
Walter Roberson
Walter Roberson 2011-1-22
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
Arif 2011-1-25
Two input signals are the trigonometric function, say sine and cosine.

请先登录,再进行评论。

回答(1 个)

James Ramm
James Ramm 2011-1-23
try; help angle
  4 个评论
James Ramm
James Ramm 2011-2-7
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by