Author |
Topic  |
|
JoannaZajac
United Kingdom
14 Posts |
Posted - 10/29/2011 : 10:20:08 AM
|
Hi, does any version of origin allows to fit replicas of user defined functions? Thanks
Joanna |
|
Penn
China
644 Posts |
Posted - 11/01/2011 : 04:14:05 AM
|
Hi Joanna,
Origin has provided such feature for a long time. If you do not have a version yet, you can download a free demo of the latest version from this page to have a try. And the 4th example in this page can help.
Penn |
 |
|
JoannaZajac
United Kingdom
14 Posts |
Posted - 11/01/2011 : 08:46:11 AM
|
Hi Penn, example which you have given is using replica of origin function ExpGrow1, I was asking about replicas of user defined functions, eg A(erf(x)-erf(x)) Maybe I should add that I call nlsf from a Labtalk script, origin 6 and 7, preferentially 6,Thanks
Joanna |
 |
|
Penn
China
644 Posts |
Posted - 11/01/2011 : 9:40:26 PM
|
Hi Joanna,
I have checked Origin 7, and Origin 7 does not allow to set replicas for user-defined functions. This feature is available since Origin 8. The example I mentioned works fine by using user-defined function instead.
Penn |
 |
|
JoannaZajac
United Kingdom
14 Posts |
Posted - 11/02/2011 : 11:24:59 AM
|
Hi Penn,
I have one more question, any suggestion why fitting procedure is generating extra dataset called 'nlsf' inspite the fact that I set fit function output to 'datafit'; nlsf.funccol$ =%(datafit,1); moreover, these datasets are not equal...
Joanna |
 |
|
Penn
China
644 Posts |
Posted - 11/02/2011 : 10:07:04 PM
|
Hi Joanna,
I have tried the second example in this page with the latest version, nlsf.funccol$ =%(datafit,1); works fine. Maybe it is a bug in version 6 or 7. Also, as you can see in the page I mentioned, nlsf is obsolete, users are not recommended to use this object since Origin 8.
Penn |
 |
|
|
Topic  |
|