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
 Fitting of data with custom expression, HELP!

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
FrederikBojsen Posted - 01/09/2019 : 10:03:00 AM
Hi people,

I need help fitting some data, but I'm unsure how to make it work properly

The function is y = yO*exp(Integral(a(x)),
where a(x) = a0 + a1*x + a2*x^-2

What I did:

Used 'fitting function builder' - model (explicit), expression type (expression) + include integration during fitting

Integrand name: Myint
Integration variable: x
arguments: a0, a1, a2 (Another question -> what is function double?)

return a0 + a1*x + a2*x^-2


Variables and Parameters:

independent variables: x
dependent variables: y
parameters: a0,a1,a2 (is this wrong? Both having a0, a1 and a2 as parameters and arguments?)
constants: y0

y0*exp(integral(Myint, 0 ,850 , , ,))

My checks of the function just says - incorrect number of arguments passed to function..

I know that a0 is around 10^-4, a1 is around 10^-8, while a2 is zero or below (have no idea how to limit this parameter to be below zero)

Need help evidently :(



2   L A T E S T    R E P L I E S    (Newest First)
FrederikBojsen Posted - 01/10/2019 : 03:56:43 AM
I got it to work!

Thank you very much :)
YimingChen Posted - 01/09/2019 : 11:48:37 AM
Hi,

Please check this tutorial page:
https://www.originlab.com/doc/Tutorials/Fitting-Integral-LabTalk

Thanks,
James

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