correl — correlation of two variables
rho=correl(x,y,fre)
real or complex vector
real or complex vector
matrix of type length(x) x length(y)
correl(x,y,fre)
computes the correlation of two variables x and y.
fre is a matrix of dimensions length(x) x length(y). In fre the element
of indices (i,j) corresponds to the value or number or frequences of
x_i&y_j.