Re: [Scilab-users] datafit.sci with W

2012-09-19 Thread Samuel Gougeon
Hello, Le 19/09/2012 16:48, RolandKoberle a écrit : .../... The help page says: W:weighting matrix of size ne x ne (optional; defaut no ponderation) But if W weighs the data-points ( their number is nz ) , then W should be a vector of length nz? If you try to run datafit with W = eye(ne,

[Scilab-users] datafit.sci with W

2012-09-19 Thread RolandKoberle
There is no demo for datafit.sci with a nontrivial W matrix: [p,err]=datafit([imp,] G [,DG],Z [,W],[contr],p0,[algo],[df0,[mem]], [work],[stop],['in']) The help page says: W:weighting matrix of size ne x ne (optional; defaut no ponderation) But if W weighs the data-points ( their number i