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
 non-linear fitting

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
lshy1204 Posted - 05/18/2010 : 11:29:45 PM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
HiŁ¬
I encountered a problem in non-linear fitting:when I begin my fitting, it showed "Unable to compile user defined function".
I have tried several times,but it doesn't work.
My fitting function and data are as follows,
y=1/(1/b(exp(b*a(1/x-1/440))-1)+1)
x y
288.15 2.48551E-6
293.15 2.87928E-6
298.15 3.02979E-6
303.15 9.12039E-6
308.15 2.33113E-5
Could you help me?I am eagerly ti know how to do.Thanks!!
2   L A T E S T    R E P L I E S    (Newest First)
lshy1204 Posted - 05/19/2010 : 08:04:50 AM
Thanks for your early reply,now I have solved the problem!Thanks again!!!
Sam Fang Posted - 05/19/2010 : 04:10:52 AM
There are two errors in your expression.
1. Multiplication signs "*" can't be omitted in OriginC's expressions. There are two signs missing in your formula.
2. Integer divided by an integer equals to an integer in OriginC. Therefore 1/440 will be zero. You should change it to 1.0/440 .

For example, you can change your formula as follows.
y = 1.0/( 1.0/b*( exp( b*a*(1.0/x - 1.0/440) )-1 ) + 1 );

You may check whether the two added signs are what you want.

Using initial values a = 100, b = 100 for fitting, you can get a good fitting result.

Sam
OriginLab Technical Services

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