[Tutor] correlation matrix

Beanan O Loughlin beanan2 at hotmail.com
Sat Jul 21 14:26:44 CEST 2007

hi all,

I am new to python, and indeed to programming, but i have a question 
regarding correlation matrices.

If i have a column vector


and its transpose row vector


is there a simple way in python to create a 5x5 correlation matrix, 
obviously symmetric and having 1's on the diagonal?

Thank you very much in advance,


Get the ultimate real-time chat experience - Windows Live Messenger! 

More information about the Tutor mailing list