function y = selfconv(v,n) % y = selfconv(v,n) % Convolution of vector y with itself n times V = v; for i = 1:n V = conv(v,V); end y = V;