T O P I C R E V I E W |
pegor |
Posted - 06/16/2005 : 12:00:57 PM Origin Version (Select Help-->About Origin): 7.5 SR4 Operating System: win xp
Hi all, when i fit a curve with NLSF and i want to paste the parameters back in a worksheet, and lets say that my first parameter in the fitting function is "A", i write: A=NLSF.P1; and then i put A in the worksheet. does anybody know how can i do the same for the chi^2/DoF ? i tried: chi=NLSF.Chi2^2/DoF; but this didnt work.
Thanks in advance Pegor |
2 L A T E S T R E P L I E S (Newest First) |
easwar |
Posted - 06/16/2005 : 2:30:05 PM quote:
when i fit a curve with NLSF and i want to paste the parameters back in a worksheet,
Hi Pegor,
If you are just interested in getting all fitting results into a worksheet, you can use the NLSF tool itself to do this - just go to the Action->Results menu of the NLSF tool and click on the Parameters button. That will generate a worksheet with all the information relevant to the fit. You must first fit and make sure the fitting has converged etc using the Fit page of the tool and then go to this results page and click this button.
Easwar OriginLab
P.S. You can programmatically create such a worksheet using the paramkWks() method of the nlsf object - look under the documentation for nlsf object in the LabTalk language reference file.
Edited by - easwar on 06/16/2005 2:59:15 PM |
Mike Buess |
Posted - 06/16/2005 : 12:08:24 PM chi=NLSF.chisqr;
Mike Buess Origin WebRing Member |
|
|