Phase shift degree between 2 waveform

Hi, I have 2 waveform in separate vectors of [1x4000]. The waveform is simply a 40kHz sine wave with different amplitude and phase. Having 1 wave as the reference, I am comparing for the amount of phase shift and amplitude differences.
Is there any way I can find out the amount of phase shift in degree?
Thanks

 채택된 답변

Rick Rosson
Rick Rosson 2012년 11월 20일

0 개 추천

>> doc xcorr

댓글 수: 1

Jesmond
Jesmond 2012년 11월 20일
Thanks Rick. At the moment I'm trying to figure out the 'maxlags' value, how can I know what is my lag range? A high enough number will do?

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

추가 답변 (0개)

카테고리

질문:

2012년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by