c=corrcoef(x,y)
c=corrcoef(x)
Inputs  
x 
Data Matrix 
y 
Optional input . Data matrix. If specified, it should have the same number of elements as x .

Outputs  
c 
The correlation matrix of the inputs. 
x
is returned, otherwise the 2X2
crosscorrelation matrix of
x[:]
and y[:]
is returned. (Note that x[:]
is the column vector of the elements of x
.)