close all
phi = 1
C = 1
C = C*exp(j*phi)
w0 = 2*pi*1;
x = linspace(0,10,1000)
r = -0.5
func = C*exp((r + j*w0)*x)

plot(x, real(func))
hold on
plot(x, exp(r*x))
plot(x, -exp(r*x))
grid on

figure
func2 = 1*exp(r.*x).*exp( j*(w0*x + phi   ))
plot(x, real(func2))
grid on
