I have a non-periodic signal that contains the sinc function in the time domain and so it is a bit difficult to calculate its power (because of the integral) through: $$ {P_x} = \lim_{T \to \infty} \frac{1}{T} \int_{-T/2}^{T/2} |x(t)|^2 dt $$
This is my signal: $x(t)=A\cos(\omega_1t)+B\,\textrm{sinc}(\omega_2t)$. I wonder whether one can calculate the power in the frequency domain, since (Rayleigh's Theorem): $$ \int_{-\infty}^{\infty} |x(t)|^2 dt = \int_{-\infty}^{\infty} |X(f)|^2 df $$