That works indeed, cheers Nir!
I was confused because by default, wt is set to ones(size(y)) ... also
from the documentation - which kind of clashed with the initial
statement, that wt should be of the same dimension as y ...

Anyways, thanks for the quick reply, I consider my problem fixed.

Timo

2012/10/17 Nir Krakauer <nkraka...@ccny.cuny.edu>:
> Hi Timo,
>
> As far as I can tell from the documentation (
> http://octave.sourceforge.net/optim/function/leasqr.html ), wt is an N*1
> vector. If your estimated error standard deviation is constant and equal to
> noize, you would set wt = ones(n, 1) / noize
>
> Nir

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to