
v1=[1,10,20,2,4,7,4,3]
v2=[3,11,10,3,5,5,7,3]
a=cov(v1,v2);           printf('Covariance=%f\n',a)
a=correlation(v1,v2);   printf('Coeff. correlation=%f\n',a)
