function z = ZeroInsert(y);

% pads the vector y by inserting a zero between every two
% adjacent entries
% inputs:	y   vector of original sequence
% outputs:	z   vector of zero-padded sequence

n = length(y);
z = zeros(1,n);
z = [y(:)'; z];
z = z(:);
z = z([1:(2*n-1)]);
