Code covered by the BSD License  

Highlights from
Homogeneity test for multiple correlation coefficients

from Homogeneity test for multiple correlation coefficients by Thomas Zoeller
Tests whether multiple correlation coefficients are equal.

fisherz.m
function[z]=fisherz(r)
%FISHERZ Fisher's Z-transform.
%   Z = FISHERZ(R) returns the Fisher's Z-transform of the correlation
%   coefficient R.

%20080103, Thomas Zoeller (tzo@gmx.de)

r=r(:);
z=.5.*log((1+r)./(1-r));

Contact us at files@mathworks.com