DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

phase difference of two signals

Started by Unknown ●October 11, 2007
On Oct 11, 7:25 pm, Jerry Avins <j...@ieee.org> wrote:
> yunqiyun...@gmail.com wrote: > > On Oct 11, 11:52 am, Jerry Avins <j...@ieee.org> wrote: > >> yunqiyun...@gmail.com wrote: > >>> Hello, > >>> I am trying to get the phase difference of two signals. > >>> They are at the same frequency. > >>> One thing I could not understand is that the absolute phase value of > >>> each signal > >>> changes with the sample size but the phase difference between the two > >>> signals > >>> keeps the same. I am not so sure whether the unwrap function makes any > >>> difference here. > >> Let's get the basics down first. What do you mean by absolute phase? Do > >> you have some sort of reference? > > >> Jerry > >> -- > >> Engineering is the art of making what you want from things you can get. > >> ??????????????????????????????????????????????????????????????????????? > > > I thought an sin wave is normally assumed to have a phase value of 0 > > if the initial point is zero > > That depends on when you first look at it. > > > (sin(2*pi*f+0))? So why the angle function gives different phase > > values with the sample size N of the FFT? > > Because you start sampling at different times relative to the zero crossing.
I would say the one is looking at a different number of samples to the "right" of the zero crossing(s) relative to the number on the "left". That changes the balance of the (phase sensitive) see-saw. IMHO. YMMV. -- rhn A.T nicholson d.0.t C-o-M