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
 forcing a fit

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
Zuffy Posted - 09/30/2006 : 4:49:03 PM
I was wandering if there was a way to force the fit of a nonlinear curve (such as an exponential decay) to pass through the origin. I really appreciate any help,

Thanks
2   L A T E S T    R E P L I E S    (Newest First)
Zuffy Posted - 10/03/2006 : 01:22:38 AM
Thanks. Tried your method and it worked great.
easwar Posted - 10/02/2006 : 3:57:06 PM
Hi Zuffy,

You can do this by placing a linear constraint, if applicable to your equation.

Thus for example you are fitting with the ExpDec1 function, which is of the form
y=y0+A1*exp(-x/t1)
forcing the curve to go thru (0,0) would mean:
0=y0+A1

In the NLSF tool, use the menu Options->Constraints and in the edit box at bottom, enter:
A1+y0=0;
and then check the "Enabled" check box and continue to fit. This constraint should then force curve to go thru (0,0).

Note that only linear constraints are supported.

Easwar
OriginLab


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