function f_result=corr(x,y)
% f_result=corr(x,y); f_result=conv(fliplr(x),y)
% performs correlation of two vectors
% beware, unlike convolution, correlation is not commutative.

f_result=conv(fliplr(x),y);