From: Timo B. <t.b...@gm...> - 2012-10-16 22:23:19
|
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 <nkr...@cc...>: > 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 |