Code covered by the BSD License  

Highlights from
NonParametric Statistical Toolbox

from NonParametric Statistical Toolbox by Erik Erhardt
These are MatLab functions for performing Exact and approximate NonParametric statistics on small da

MakeCorr(V)
function C = MakeCorr(V)
%
%   MakeCorr(V)         Make Correlation.  Makes a correlation matrix out
%                       of a covariance matrix.
%
%  Created by Carlos J. Morales
%  June 2002

DV = sqrt(diag(V));

R = DV*DV';

C = V./R;

Contact us at files@mathworks.com