numpy (matrix solver) - python vs. matlab

Robert Kern robert.kern at gmail.com
Tue May 1 17:45:16 EDT 2012


On 5/1/12 10:21 PM, someone wrote:
> On 05/01/2012 10:54 PM, Russ P. wrote:
>> On May 1, 11:52 am, someone<newsbo... at gmail.com> wrote:
>>> On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
>
>>> What's the limit in matlab (on the condition number of the matrices), by
>>> the way, before it comes up with a warning ???
>>
>> The threshold of acceptability really depends on the problem you are
>> trying to solve. I haven't solved linear equations for a long time,
>> but off hand, I would say that a condition number over 10 is
>> questionable.
>
> Anyone knows the threshold for Matlab for warning when solving x=A\b ? I tried
> "edit slash" but this seems to be internal so I cannot see what criteria the
> warning is based upon...

The documentation for that operator is here:

   http://www.mathworks.co.uk/help/techdoc/ref/mldivide.html

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list