[Scilab-users] datafit.sci with W

RolandKoberle rkoberle1 at gmail.com
Wed Sep 19 16:48:16 CEST 2012


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 is nz ) , then W should 
be a vector of length nz?

If you try to run datafit with W = eye(ne,ne) or W=ones(nz,1) etc., you 
get an error message ?????

Thanx/Roland





More information about the users mailing list