Consider a signal $x(t) = \sum A_i \sin(2\pi(f_c+f_i) t + \theta_i),\, i=1\ldots N,$ and its analytic signal $Z_x(t) = x(t) + j\mathcal H[x(t)]$.
I want to describe the complex envelope (equivalent lowpass signal) as $x_{eq} (t) = r(t)\exp(j\Phi(t))$.
How do I know the amplitude $r(t)$ and the phase $\Phi(t)$ of the complex envelope?
As an example, let's consider: $x(t) = 1 sin(2\pi*11.5e9*t) + 2 sin(2\pi*11.6e9*t)$
In Matlab I would start the code with:
T = 1e-9;
f_s = 1e12;
t = [0 : 1/f_s : T]';
f_c = 11.5e9;
x_passband = 1*sin(2*pi*(f_c+0)*t) + 2*sin(2*pi*(f_c+0.1e9)*t);
x_analytic = hilbert(x_passband);
x_envelope = x_analytic .* exp(-1i*2*pif_ct);
The complex envelope should also be equal to:
amplitude = abs(x_analytic);
phase = angle(x_analytic);
x_envelope = amplitude * exp(j*phase);