function y = convo(x,h) % creating a MATLAB function that calls upon two vectors x and h.
X = fft([x zeros(1,length(h)-1)]); H = fft([h zeros(1,length(x)-1)]); y = ifft(X.*H);
function y = convo(x,h) % creating a MATLAB function that calls upon two vectors x and h.
X = fft([x zeros(1,length(h)-1)]); H = fft([h zeros(1,length(x)-1)]); y = ifft(X.*H);