views:

126

answers:

2

How to find solution to overdetermined systems in Macsyma, Scilab, Octave?

+3  A: 

The backslash operator gives the least-squares solution in Scilab.

jspcal
same syntax for Matlab/Octave
Jason S
+3  A: 

You don't say what type of system it is. If it is non-linear, you are in a very serious mess. In the linear case, You are trying to solve the system Ax = y, where A is not invertible. Even though it is not invertible, it admits a pseudo inverse, which you can stably compute using SVD.

David Lehavi