Use leasqr.m in octave to fit data with error

Francesco Potorti` Potorti at isti.cnr.it
Wed Apr 8 14:59:20 CDT 2009


>If it is familiar to you, could you please tell how can I extract
>"Chi-squared/ Number of Degree of freedom" from the program. Is there some
>option or I have to code it my own?

I do not know.  Anyway, have a look at the help and the source code:
there are various return variables that are not dispayed or returned by
default.  They should all printed out if you set

global verbose=1

before calling leasqr.  Maybe you can get what you want starting from
those.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Help-octave mailing list