# Phase angle operator, Implemention and drawbacks

Let assume we have a signal as:
$\color{blue} {x(t)=M e^{(-\beta.t)} e^{j(\sigma .t+\delta )}}$
By applying phase angle operator we have:
$\color{blue} {Phase[x(t)]=Phase[M e^{-\beta.t} e^{j(\sigma .t+\delta )}]=\sigma.t+\delta}$
I have two questions:
1. How can I implement the Phase angle operator, i.e. Phase, in practice ,like a chip.
2. Does phase angle operator increase the effect of noise in a noisy signal?(for example some operators like derivative operator increases the noise effect in a noisy signal)
Kind Regards

• I guess $\tau$ on the right-hand side should be $t$. If you already have a complex-valued signal (i.e. you don't need to generate an analytic signal from a real-valued signal), then the phase is simply the phase angle of the complex number represented by the signal at a given time $t$. So you basically need to implement atan2. – Matt L. Sep 22 '14 at 13:27
• Yes, I meant to present the time variable by writing $\tau$ However the signal is modified and 't' is substituted now. Also, Thanks for giving the hint of using atan2. Now I have two questions. First, How can I apply it to my signal? is this function within every microcomputer programming tool? Second, Does noise effect increase the error as derivative operator does? thanks @MattL. – Electricman Sep 22 '14 at 13:49

As mentioned in my comment, you need the atan2 function. If it is not implemented in the library you're using, you can implement it yourself quite easily according to this definition. If your signal is $x(t)=x_r(t)+jx_i(t)$, where $x_r(t)$ and $x_i(t)$ are the real and imaginary parts, respectively, then for a given time $t$, the phase is computed as $\phi(t)=\text{atan2}(x_i(t),x_r(t))$.