Correlation coefficients - MATLAB corrcoef - MathWorks This MATLAB function returns a matrix R of correlation coefficients calculated from an input matrix X whose rows are observations and whose columns are ...