% M-file names must start with an alphabetic character,
%   may contain any alphanumeric characters or underscores

clear;  % Clear variables and functions from memory.
clc;    % Clear command window.


% 2.7 (c)
x = [2 1];
v = [0 1 2];
y = conv(x, v);
n = 0:(length(y)-1);
stem(n, y, 'filled');
% axis([-10 10 -3 3]);
xlabel('n');
ylabel('x(t)*v(t)');
title('2.7 (c)');