[Tutor] location of points in a covariance matrix

2007-07-24 Thread Beanan O Loughlin
Hi all, I'm a meteorology postgrad working with python for the first time. I have found the location minimum in a large covariance matrix. this value corresponds to the covariance of two points on a latitude, longitude grid. I need to find a method to locate these two points on the lat,lon grid.

[Tutor] correlation matrix

2007-07-21 Thread Beanan O Loughlin
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 x=[1;2;3;4;5] and its transpose row vector xt=[1,2,3,4,5] is there a simple way in python to create a 5x5 correlation matrix, obviously symmetric and having