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
 Forum for Origin C
 Definition of Fit Formular 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

Xeal

10 Posts

Posted - 08/22/2011 :  2:52:29 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
HI !

I've seen that it is possible to define a fit function containing an integral using the NAG-Library: http://qhwiki.originlab.com/~originla/howto/index.php?title=Tutorial:Fitting_with_Integral_using_NAG_Library

In the Tutorial the Integration variable is equal to the dependant vaiable of the fit function: x.

In my case, I have to fit something like:


In this forumular x is the dependant variable. U and v are fitting parameters. The integration variable is u.

Is it possible to do this fit in origin ?

Penn

China
644 Posts

Posted - 08/22/2011 :  11:21:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Maybe you can refer to this tutorial.

Penn
Go to Top of Page

Xeal

10 Posts

Posted - 08/24/2011 :  1:53:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thank you very much for your quick answer. I've read the tutorial and changed the variables and fitting function, so that fitting works fine.

The only problem I have: Everything is pretty slow (my data consists of approx. 2000 points and I have 4 fitting Parameters. The integral Boundarys are also fitting parameters.

Currently I'm using the d01sjc function of the NAG library. Is there an other function from the nag library which is maybe faster ?

Holger

Edited by - Xeal on 08/24/2011 1:54:13 PM
Go to Top of Page

Xeal

10 Posts

Posted - 08/31/2011 :  4:34:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
no answers ?
Go to Top of Page

Penn

China
644 Posts

Posted - 09/01/2011 :  02:45:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

The solution can be using external DLLs combined with GSL lib. I have sent the related opx to your email box. Please check.

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