Author |
Topic |
|
shenqhann
1 Posts |
Posted - 07/11/2014 : 08:33:58 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): v8.0951 Operating System: XP3, windows Hello, I'm trying to fit my data with the function
y = A1*exp(x/t1) - A2*exp(-x/t2) + y0
A1=/=A2, and t1=/=t2,
and I first used the function "Exp dec2" as my fitting template,
but I found that, in its parameter initialization,
it's " t1 = t2 = -1 / t1; A1 = A2 = sign * exp(A1) / 2;"
what should I do once I want to define a new function?
I mean, although I can change the function, but what should I key in the parameter initialization for the new function?
Thank you |
Edited by - shenqhann on 07/11/2014 08:39:33 AM |
|
lkb0221
China
497 Posts |
Posted - 07/11/2014 : 10:15:53 AM
|
Hi,
You have to give each parameter a default initial value so that the function can start to work somewhere.
But the detailed script is not a must for building a new function. It's just a auto smart guess for what the parameters might be, to faster the process.
Zheng, OriginLab |
Edited by - lkb0221 on 07/11/2014 10:27:13 AM |
|
|
|
Topic |
|
|
|