n=[-2:4]
x_1_c=[-1/2 1 2/4 0 1 3 2]            %%incrementing vectors%%
x_2_c=[0 1 4 3 -1 -2 -3]
figure
subplot(2,1,1);
stem(n,x_1_c,'filled')
xlabel('n');
ylabel('Amplitude');
title('x_1');
subplot(2,1,2);
stem(n,x_2_c,'filled');
xlabel('n');
ylabel('Amplitude');
title('x_2');



Categories:

Leave a Reply