From: Sebastian S. <st...@tu...> - 2004-10-21 06:34:06
|
Thank you, this works fine. On Wednesday 20 October 2004 22:47, John Hunter wrote: > Hmm, I don't know how this slipped in untested. corrcoef definitely > works for corrcoeff(x,y), but is obviously broken for matrices. > > Here is a fixed implementation, tested against matlab for MxN matrices > with 5 significant digits of agreement in the correlation matrix > output with Numeric and numarray. -- Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark Max Planck Institute for Biological Cybernetics Spemannstr. 38, 72076 Tuebingen Phone: +49 7071 601 555 -- Fax: +49 7071 601 552 |