[Top][All Lists]

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

Re: lsqlin() error message

From: GoSim
Subject: Re: lsqlin() error message
Date: Fri, 5 Jul 2019 12:59:45 -0500 (CDT)

nrjank wrote
> Whether or not to add a noncompatible flag to have octave clip out the
> linearly dependent input as per GoSim's suggestion may warrant further
> discussion.

First make lsqlin give NaN in these cases instead of error. Then if lsqlin
gives NaN try to remove lin. dependent rows and try again.
Like this there is no need to always look for lin. dependent rows. 

Matlab should do this too.

But it could be something else because when two lin. dependent rows were the
only two inputs it worked. 

Sent from:

reply via email to

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