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
 Why this constraint is wrong?

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
Tmlcky Posted - 07/12/2013 : 10:51:02 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin Pro 9.0.0 (32bit) SR2
Operating System: Windows XP virtualized on Fusion 2.0.8 (iMac 21; MAC OS X 10.6.8)

Dear all,
I am a very beginner user of Origin Pro (and not skilled in math).
I got data of a photosynthetic parameter (ETR) in response to light (PAR).

I wanted to fit my data to ExpDec1 function: y = A1*exp(-x/t1) + y0.
Fitting converged. Then I wanted to constrain the fitted curve to pass through the origin, as with PAR=0 (no light), ETR should also be zero.

So I added this constraint to the Code/Constraints window:
y = A1*exp(-0/t1) + y0 = 0
I also tried:
0 = A1*exp(-0/t1) + y0
and
A1*exp(-0/t1) + y0 = 0

In any case, I got this message:
Error in constraints - Please check syntax such as parameter names and operators.

Would you please help me?
Best regards,




Pasquale Giorio

CNR-ISAFOM
via Patacca, 85
80056- Ercolano (NA),
Italia
tel: +39 081 5746606 (int. 230, 224 or 231)
fax: +39 081 7718045

Email: pasquale.giorio@cnr.it
4   L A T E S T    R E P L I E S    (Newest First)
Tmlcky Posted - 07/16/2013 : 03:14:15 AM
It didn' work.
However, I implemented two equations (1 and 2 exp. dec.) I got elsewhere which worked nicely.
Thank you anyway.
Regards

Pasquale Giorio

CNR-ISAFOM
via Patacca, 85
80056- Ercolano (NA),
Italia
tel: +39 081 5746606 (int. 230, 224 or 231)
fax: +39 081 7718045

Email: pasquale.giorio@cnr.it
malgoska Posted - 07/13/2013 : 05:29:30 AM
Sorry, my mistake. As exp(0)=1, you should put A1=-y0;
You can also create simpler version of the function with just two parameters in a form y=A*(exp(-x/t1)-1).
Regards
Tmlcky Posted - 07/12/2013 : 11:04:14 PM
If Yo=-1 and X=0 then Y=A1-1
So Y will not be zero. Is it right?

malgoska Posted - 07/12/2013 : 11:25:37 AM
If you want to make the curve pass through zero, you must simply put y0=-1 (as exp(0)=1).
Regards

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