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 for Programming
 Forum for Origin C
 fitting with integral 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
Varanda Posted - 09/29/2015 : 3:18:08 PM
Origin Ver. 8 and Service Release SR0(Select Help-->About Origin):
Operating System:Windows XP
or
Origin Ver. 2015 and Service Release SR0(Select Help-->About Origin):
Operating System:Windows 8.1

I need fitting a Langevin function, in which one parameter must be firstly optimized by using a Lognormal distribution.
The complete equation is:



and the parameters to fit are: y0, Ms, d, A, w, b and c

Please, note that the variable is “x”, but the integral is related to “d”. Thus, d parameter must be previously optimized to be used in each interaction step.
Can you help me, please?
3   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 10/07/2015 : 3:04:25 PM
Maybe try this one?
http://www.originlab.com/doc/Tutorials/Fitting-Integral-NAG
Varanda Posted - 10/06/2015 : 4:04:40 PM
Hello jasonzhao,

Thank u for replay.
I used the mentioned turorial, bur the curve fit return that the great dependence of the variable. I use this script:

return (cosh(0.06108*(exp(ixc))^3*(ih+x))/sinh(0.06108*(exp(ixc))^3*(ih+x)))-1/(0.06108*((exp(ixc))^3*(ih+x))) * (iA * exp(-(ln(t/ixc))^2/(2*iw^2)) / (sqrt(2*PI)*iw*t));

with
Integration variable: t
Arguments: ixc, iw, iA, ih

Parameters: y0,xc,w,A,h,Ms,B

and the Function body is:

y0 + Ms*integral(MyIntegrand, 0.00001 ,+inf ,xc ,w ,A ,h)+B*x

Observing the expression that sent the first post, I'm making a mistake? At where?

Could you help me again?
jasonzhao Posted - 09/30/2015 : 02:00:13 AM
Hello,

You can refer to this tutorial:
http://www.originlab.com/doc/Tutorials/Fitting-Integral-LabTalk

Best regards!
Jason
OriginLab Technical Service

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