[SciPy-user] Python - Matlab least squares difference

Albert Strasheim fullung at gmail.com
Fri Jun 2 19:42:32 CDT 2006


Hello all

> Implementations that do something else have some 'splainin' to do. Of
> course,
> A\b may not quite be "do linear least squares" in Matlab but something
> else. I
> don't know. FWIW, Octave gives me the same answer as numpy/scipy.

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/mldivide.html

Scroll down to the Algorithm section for details.

Regards,

Albert



More information about the SciPy-user mailing list