I would like to calculate the phase between two signals like
f= Table[Sin[x-0.8],{x,-100,100,0.1}]
g= Table[Sin[x],{x,-100,100,0.1}]
For doing that I use the ArcCos[Correlation[f, g]]
, that instruction gives the phase between two functions but is independent of the sign of the phase. There is some way to consider the sign of the phase?
Thanks