help-octave
[Top][All Lists]
Advanced

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

lsqlin() error message


From: GoSim
Subject: lsqlin() error message
Date: Fri, 5 Jul 2019 03:28:04 -0500 (CDT)

C=[1 2 3;4 5 6; 2 4 6]
D=[4 5 8]'
lsqlin(C,D,[],[])
error: __qp__: operator *: nonconformant arguments (op1 is 2x2, op2 is 3x1)
error: called from
    quadprog at line 351 column 32
    lsqlin at line 123 column 19



it is because two rows in C and D are linearly dependent, row 1 and 3 in
this case. 



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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