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
 User defined function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Naeiji

USA
3 Posts

Posted - 05/25/2012 :  10:48:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi

I am having trouble trying to fit a specific function to my data points. The equation that I want to fit is

y/(1-y)*exp(2*a*y) = (b*x)^(1/v)

It seems like a combination of exponential and Langmuir to me, but I am having trouble trying to simplify it. How should I set up the function body in the user defined function? Many thanks.

Hideo Fujii

USA
1582 Posts

Posted - 05/25/2012 :  11:54:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Naeiji,

Your formula is of an implicit function, which Origin currently doesn't support for fitting. For now, possible work-arounds (practically, but NOT theoretically to give you the sense of parameter values) may be the following either way:

1) You can rewrite your function as X as dependent, and Y as independent. Thus,
  x = (y/(1-y)*exp(2*a*y))^v/b
(Of course, the parameters would minimize the Chi^2 on X, instead of Y.)

2) Define a function:
  Z=y/(1-y)*exp(2*a*y)-(b*x)^(1/v)
and add an extra dataset for Z as the dependent variable which have all zeros(0) corresponding your (x, y) values (as independent).

Hope this helps.

--Hideo Fujii
OriginLab

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