The transmitted signal Xt = Accos(2πfct+φ),$$x(t) = A_c \cos(2\pi f_c t+\phi),$$
I know mathematical expression of complex envelope and its derivation,
but how to find its complex envelope in MATLAB?
Assume that Ac = 3$A_c = 3$,carrier carrier frequency fc = 1GHz$f_c = 1$ GHz,phase φ = 30 phase $\phi = 30$ degrees.
Could somebody show me the MATLAB code that generates the complex envelope of signal Xt$x(t)$?