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

 Akzeptierte Antwort

Rick Rosson
Rick Rosson am 20 Nov. 2012

0 Stimmen

>> doc xcorr

1 Kommentar

Jesmond
Jesmond am 20 Nov. 2012
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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by