help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Novice question on A \ b


From: John B. Thoo
Subject: Novice question on A \ b
Date: Thu, 10 Mar 2005 16:41:10 -0800

Hi. According to the Octave manual, when using A \ b, if the coefficient matrix is singular, Octave will print a warning message and compute a minimum norm solution.

This is what I tried.


octave:18> A = [ [1, 1, 2, 3]' [0, 0, 4, 4]']; b = [3, 0, -1, 0]'; A \ b
ans =

   1.40000
  -1.00000


I think this is the minimum norm solution, but Octave did not issue a warning. What is wrong with my thinking?

I'm using Octave 2.1.46 (installed with Fink) on Mac OS X 10.3.7.

TIA.

---John.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]