[SciPy-User] Linear algebra problem
federico vaggi
vaggi.federico@gmail....
Wed May 23 12:47:02 CDT 2012
Hi,
I have a standard system, of type:
AX = B
Where:
X is a nxm matrix.
B is a mxn matrix.
A is a nxn matrix.
I have B and X, and I am trying to calculate A - however, B, is null matrix.
Using the default numpy solvers (
http://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.lstsq.html#numpy.linalg.lstsq)
I obtain the trivial correct solution of A being a null matrix.
What's the most robust way to search for the solution which minimizes the
residuals, while still not returning a null matrix of A? X, is usually
rank deficient, so I know I won't have an exact solution.
Thanks for all the help,
Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120523/dcc2bf8c/attachment.html
More information about the SciPy-User
mailing list