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
 help wanted on new fitting 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

Pythe

Netherlands
Posts

Posted - 03/11/2004 :  10:04:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am just starting with Origin (version 6.0) and I have some difficulties defining a new nonlinear fitting function.
What I want to do is the following:
I have a dataset consisting of y values versus x values, forming a sigmoidal-type graph. This system should be fitted with the following formulas:
dy/dx=P1*V1*(1-V1)*(x^2)
V1=V2/(V2+1)
V2=exp((P2/8.3145)((1/P3)-(1/x)))

However, I can't seem to get it right and obtain a sigmoidal plot. Can anybody help me and tell me how to define this function?

ML

USA
63 Posts

Posted - 03/12/2004 :  10:09:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pythe,

V1 depends on V2, and dy/dx depends on V1, so you certainly have to reverse the order of formulas, such that V2 is evaluated first, then V1, and finally dy/dx.

You also need to set the Form of the function to Y-Script.

ML


Edited by - ML on 03/12/2004 10:10:07 AM
Go to Top of Page

Pythe

Netherlands
Posts

Posted - 03/12/2004 :  3:05:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi ML,

Sorry, I messed the order of the equations up in this post. I think I have already put them in the correct order, but I am not sure as I am not on my work right now. I will check it first thing monday morning.

I don't have any experience with formula syntax in Y-script. I have tried to set the form as Y-script, but at the time it did not work. But I deduct from your answer that the syntax is OK for Y-script. My biggest concern was with the dy/dx on the left side of one of the equations, but I guess I did OK?

As I said, I will try first thing on monday and let you know if it works!

Thanks,

Pythe
Go to Top of Page

easwar

USA
1965 Posts

Posted - 03/12/2004 :  4:05:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pythe,

Looks like what you need to do is to fit using an integral. Please look at this item from our knowledge base:
http://www.originlab.com/www/support/resultstech.aspx?ID=121&language=English

Easwar
OriginLab.


Go to Top of Page

Pythe

Netherlands
Posts

Posted - 03/15/2004 :  05:35:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I still couldn't get it right, but I settled with taking the derivative of the data first, and then fitting it with the equations, except using "y=" instead of "dy/dx=". This works fine, but I am a lazy person and wanted to fit right away on the raw data.

I will try some more to get it right, but if I don't succed, I'll just settle with the derivative data.

Thanks a lot,

Pythe
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