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
 Fit using a digitized function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Luke11

1 Posts

Posted - 05/13/2016 :  4:13:46 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release 9.1 b215:
Operating System: Windows 10

Hi, everyone! Here's my problem:
I have to execute a 2 parameter fit of some experimental data about a measure of resistivity. The formula I'm using is:

rho(T)=rho0+T*A*integral(dOmega (F(Omega)*g(T,Omega)))
(A and rho0 are the parameters to fit, T is the independent variable)

g contains elementary functions (sinh(T) and T), while the only way to obtain F(Omega) is to digitize a graph that I found on some academic article, which I did.
My question now is: is it there a way to call the digitized data from the fitting function builder in order to use it in the fit?
Thanks in advance for the help!

Echo_Chu

China
Posts

Posted - 05/16/2016 :  06:22:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can interpolate the digitized data to get the F(x) value on Omega. We have a labtalk function, interp, to do this. You can also look at the page below for more details on using the function.

http://www.originlab.com/doc/LabTalk/ref/Interp-func

That is, you can call the function when you define the user-defined function. Please learn more details on define an integral function with Labtalk in Origin.

http://www.originlab.com/doc/Tutorials/Fitting-Integral-LabTalk

Echo
OriginLab Tech.





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