% Discrete -Time modulation 
 
 
% EX-1 plot a discrete time signal with a step function from -5 to 5
 
n = [-5 -4 -3 -2 -1 0 1 2 3 4 5];
f_one = 2*0.5.^n.* heaviside(n+2)
subplot(211)
stem(n,f_one)

