Phase shift degree between 2 waveform

1 view (last 30 days)
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

Accepted Answer

Rick Rosson
Rick Rosson on 20 Nov 2012
>> doc xcorr
  1 Comment
Jesmond
Jesmond on 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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!