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
 All Forums
 Origin Forum
 Origin Forum
 Fit using a digitized function

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Luke11 Posted - 05/13/2016 : 4:13:46 PM
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!
1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 05/16/2016 : 06:22:08 AM
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.






The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000