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 11:39:37 -0400



On Thu, Oct 12, 2017 at 11:07 AM, Ether Jones <address@hidden> wrote:
siko1056 wrote
> # 1.3 GB (Octave only) for intermediate computations
> + tic; X2 = A \ b; toc
> Elapsed time is 31.0354 seconds.

Thank you, that was very helpful.

If I may ask, would you try this on your system and tell me if it gives the
same answer (to a reasonable accuracy?):

tic; X3 = (A'*A)\(A'*b); toc

.



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.
>> 
--
DAS


reply via email to

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