[Scilab-users] Backslash operator with square singular matrix

Stéphane Mottelet stephane.mottelet at utc.fr
Tue Oct 27 14:53:28 CET 2015


Hello,



Le 27/10/2015 13:27, Pierre Vuillemin a écrit :
> A = [2 4;1 2];
> disp(det(A))
> b = [1;1];
> x = A \ b; 
-->A = [2 4;1 2];

-->disp(det(A))

     0.

-->b = [1;1];

-->x = A \ b;
Attention :
La matrice est presque singulière ou mal conditionnée. rcond = 0.0000D+00
Calcul de la solution des moindres carrés (voir lsq).

Isn't it a warning ?

S.




More information about the users mailing list