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
 Problem when generating fit 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
chris_1877 Posted - 02/02/2009 : 08:34:48 AM
Origin Ver. and Service Release (Select Help-->About Origin): 7G.sr1 v7.0303
Operating System: Win XP pro

Hi all!

I have a problem with generating a fit function.
The function is the Carreau model for fitting rheological data and should look like the following:

y = P1 / (1 + (P2 * x)^P3)^((1-P4)/P3)

So if I put this in and check the equation, I get a compiling error from the script window.

If I delete the last part of the equation (...^((1-P4)/P3)), then the equation is compiled without problems.
Is origin not capable for fitting with that equation? (I really can not believe that). I also tried eliminated all the blanks, and it did not change anything.

Thank you for your help,
Chris
3   L A T E S T    R E P L I E S    (Newest First)
chris_1877 Posted - 02/06/2009 : 06:06:30 AM
Hi Deanna!

Thank you - I think I will update to the newer patch.

Chris
Deanna Posted - 02/02/2009 : 9:32:14 PM
I complied "y = P1 / (1 + (P2 * x)^P3)^((1-P4)/P3)" in my Origin 7 SR4. It suceeeded. Maybe this is a bug of early SR. You can try to patch your Origin 7 to the latest SR 4. This should fix a lot of problem.

You can visit this web page for service release information:
http://www.originlab.com/index.aspx?s=9&lm=76


Deanna
OriginLab Technical Services
chris_1877 Posted - 02/02/2009 : 08:52:50 AM
Hi!

I found a solution for myself.
When "rewriting" the equation in the following form:

y = P1 *(1/(1 + (P2*x)^P3))^((1-P4)/P3)

This can be compiled - I just do not understand why it makes a difference to take out the P1 from the parentheses ...

Maybe someone can explain that to me - thanks
Chris

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