EngWiPy
- 1,361
- 61
Hi all,
I have this integral, and I wish to write it in a closed-form in order to be able to program it. The integral is:
\int_{-\infty}^{\infty}e^{j2\pi f_c[a^{(u)}-a^{(m)}]}g(t[1+a^{(m)}]-kT_s-\tau_p^{(m,n)}) g(t[1+a^{(u)}]-lT_s-\tau_q^{(u,n)})\,dt
where
g(t)=\left\{\begin{array}{cc}1&t\in[0,T_s)\\0&\mbox{Otherwise}\end{array}\right.
Basically, I can write two different cases, namely, when:
\frac{kT_s+\tau_p^{(m,n)}}{1+a^{(m)}}\leq \frac{lT_s+\tau_q^{(u,n)}}{1+a^{(u)}}<\frac{(k+1)T_s+\tau_p^{(m,n)}}{1+a^{(m)}}
and when
\frac{lT_s+\tau_q^{(u,n)}}{1+a^{(u)}}\leq \frac{kT_s+\tau_p^{(m,n)}}{1+a^{(m)}}<\frac{(l+1)T_s+\tau_q^{(u,n)}}{1+a^{(u)}}
and solve the integral for these two separate cases. However, this requires me to check for every possible case separately which is taking too long time. I was hoping if I can write it as one expression which eases the programming part.
Thanks
I have this integral, and I wish to write it in a closed-form in order to be able to program it. The integral is:
\int_{-\infty}^{\infty}e^{j2\pi f_c[a^{(u)}-a^{(m)}]}g(t[1+a^{(m)}]-kT_s-\tau_p^{(m,n)}) g(t[1+a^{(u)}]-lT_s-\tau_q^{(u,n)})\,dt
where
g(t)=\left\{\begin{array}{cc}1&t\in[0,T_s)\\0&\mbox{Otherwise}\end{array}\right.
Basically, I can write two different cases, namely, when:
\frac{kT_s+\tau_p^{(m,n)}}{1+a^{(m)}}\leq \frac{lT_s+\tau_q^{(u,n)}}{1+a^{(u)}}<\frac{(k+1)T_s+\tau_p^{(m,n)}}{1+a^{(m)}}
and when
\frac{lT_s+\tau_q^{(u,n)}}{1+a^{(u)}}\leq \frac{kT_s+\tau_p^{(m,n)}}{1+a^{(m)}}<\frac{(l+1)T_s+\tau_q^{(u,n)}}{1+a^{(u)}}
and solve the integral for these two separate cases. However, this requires me to check for every possible case separately which is taking too long time. I was hoping if I can write it as one expression which eases the programming part.
Thanks