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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 about the fitting of Expdec2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

shenqhann

1 Posts

Posted - 07/11/2014 :  08:33:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000