help-octave
[Top][All Lists]
Advanced

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

Re: pinv() error message


From: Doug Stewart
Subject: Re: pinv() error message
Date: Thu, 12 Oct 2017 13:08:06 -0400



On Thu, Oct 12, 2017 at 11:50 AM, Ether Jones <address@hidden> wrote:
Doug Stewart-4 wrote
> I get this
>
>>> tic; X3 = (A'*A)\(A'*b); toc
> Elapsed time is 4.46032 seconds.
>>>  tic; X2 = A \ b; toc
> Elapsed time is 38.9548 seconds.
>>>

Thank you for replying; I was asking how closely the two methods agreed;
Could you do this please:

norm (X2 - X3)

max (X2 - X3)

.

>> norm (X2 - X3)
ans =    9.5485e-14
>>
>> max (X2 - X3)
ans =    5.9640e-15
>>

--
DAS


reply via email to

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