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
 Origin Forum
 Fitting with Integral
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rainbowkoala

29 Posts

Posted - 03/09/2014 :  10:10:10 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.5.0 SR1
Operating System: win7
Hello,
I hope you can help me with the following problem:
I want to define an Origin C fitting function which involves three integral. For example, y=integ(A1+B1x)+integ(A2+B2x)+integ(A3+B3x)
Lower Limit: -inf, Upper Limit: inf, integration variable: x, Parameters: A1/B1/A2/B2/A3/B3
I looked for the Origin help. But Origin allows user to define an Origin C fitting function which involves only one integral.
http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Fitting_with_Integral_using_LabTalk_Function
Thanks for your help.

Sam Fang

292 Posts

Posted - 03/10/2014 :  04:01:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
We have another tutorial to show how to fit with two integrals using LabTalk functions.
http://www.originlab.com/doc/Tutorials/Fitting-2Integral-LabTalk

Note that fitting integral using LabTalk function is only available in Origin8.6 or higher version.

In Origin8.5, you have to use OriginC code to call NAG functions for integrals, e.g. example in the page:
http://www.originlab.com/doc/Tutorials/Fitting-Integral-NAG

Sam
OriginLab Technical Services
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