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

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
Pythe Posted - 03/11/2004 : 10:04:44 AM
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?
4   L A T E S T    R E P L I E S    (Newest First)
Pythe Posted - 03/15/2004 : 05:35:06 AM
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
easwar Posted - 03/12/2004 : 4:05:06 PM
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.


Pythe Posted - 03/12/2004 : 3:05:41 PM
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
ML Posted - 03/12/2004 : 10:09:45 AM
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

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