
May 5, 2010
10:26 a.m.
Hi Peter On 5 May 2010 10:02, Peter Schmidtke <pschmidtke@mmb.pcb.ub.es> wrote:
u,s,vh=numpy.linalg.linalg.svd(M)
Then in the matlab analog they use the last column of vh to get the a,b,c coefficients for the equation a,b,c=vh[:, -1] in numpy
Note that vh is the conjugate transpose of v. You are probably interested in the rows of vh (the columns of V in MATLAB parlance). Regards Stéfan