The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 fitting with replicas of user defined nlsf
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JoannaZajac

United Kingdom
14 Posts

Posted - 10/29/2011 :  10:20:08 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

JoannaZajac

United Kingdom
14 Posts

Posted - 11/01/2011 :  08:46:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Penn

China
644 Posts

Posted - 11/01/2011 :  9:40:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

JoannaZajac

United Kingdom
14 Posts

Posted - 11/02/2011 :  11:24:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Penn

China
644 Posts

Posted - 11/02/2011 :  10:07:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000