%% Vector Convolution
% Create two vectors and convolve them.

u = [1 1 1];
v = [1 1 0 0 0 1 1];
w = conv(u,v)

% The length of w is length(u)+length(v)-1, which in this example is 9.
% Copyright 2015 The MathWorks, Inc.