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

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

댓글 수: 2

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?
Two input signals are the trigonometric function, say sine and cosine.

댓글을 달려면 로그인하십시오.

답변 (1개)

James Ramm
James Ramm 2011년 1월 23일

0 개 추천

try; help angle

댓글 수: 4

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 ?
Please explain for the phase difference, when both signals are trigonometric function, say sin and cos?
http://en.wikipedia.org/wiki/Phase_(waves)
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

댓글을 달려면 로그인하십시오.

카테고리

제품

질문:

2011년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by