### Gary Schafer (@Gsparky2004)

You want the difference in the phase angles, and the product of two
phasors multiplies the amplitudes and adds the angles...that's basic
complex arithmetic, there's...

Cool! Thank you!The issue is that, when you do this in the digital domain, the polar form of the math will give you the wrong value if the two samples being used...

Let me see if I can parse out your equation:$$ R \exp \{ j \omega t[0] \} \times R \exp \{ j \omega t [-1] \} = R^2 \exp \{ j \omega \left( t[0] - t[-1] \right)...

i still haven't figured out how to do math on this site.It turns our your code is fine; the only change that @stephaneb made below is he used a double dollar sign...

Thanks for the reply. Does Frerking explicitly mention calculating phase difference between consecutive samples by multiplying one sample with the conjugate of the...

In this case, it is simple. We're looking at this from the point of a FM signal. A digital version represented by complex samples will only have an instantaneous...

Hmmm. I tried your mathjax on the Mathjax.org demo page, and it rendered perfectly. I don't think the problem is your math.Rather than try to make the math work...

Use this form to contact **Gsparky2004**

Before you can contact a member of the *Related Sites:

- You must be logged in (register here)
- You must confirm you email address