Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Khosrove
Posted - 03/21/2016 : 11:48:28 AM Hello,
I want to fit the Boltzmann function to a dataset, without any specific parameters set. Here is what I have tried, but it just creates a graph of the dataset and a workbook with x values and "10" in every single cell of the fit column. What am I doing wrong here?
nlsf.func$ = Boltzmann; // select Boltzmann fitting function nlsf.fitdata$ = Book2_HH@9; // define dataset to be fitted ; nlsf.fit(100); // iterate 100 times
4 L A T E S T R E P L I E S (Newest First)
Khosrove
Posted - 03/22/2016 : 09:13:53 AM Thank you for your answers Hideo Fujii.
I got it to work in the end by setting the parameters.
nlsf.func$ = Boltzmann; // select Boltzmann fitting function nlsf.fitdata1$ = [Book2]Sheet7!col(3); // define dataset to be fitted ; nlsf.p1 = 701; // A1 of first dataset nlsf.p2 = 106475; // A2 of first dataset nlsf.p3 = 827.25523; // x0 of first dataset nlsf.p4 = 28.4254; // dx of first dataset nlsf.fit(100); // iterate 100 times
Hideo Fujii
Posted - 03/21/2016 : 3:39:10 PM Hi Khosrove,
Sorry, but I cannot reproduce the problem because I don't have Origin 8 on my machine. You got the error probably because of the version compatibility. As far as I tried Origin 8.1, it worked. If you just need to get the fitting result, you can try the evaluation version of Origin 2016. http://www.originlab.com/demodownload.aspx