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
 user defined exponential fitting

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
jeanett Posted - 05/27/2012 : 4:58:56 PM
hello,
i have a huge problem with fitting curve with given formula which looks:

This formula isn't in Origin functions and it needs user-defined tool. It is said that I need 3 or 4 parameters Ai and ti.
Here is the plot:

I'll be very grateful for any help.
2   L A T E S T    R E P L I E S    (Newest First)
jeanett Posted - 06/01/2012 : 06:57:23 AM
thanks a lot! it works! to make a thing easier i made a little change of ExpAssoc function
Sam Fang Posted - 05/30/2012 : 05:31:11 AM
I think you'd better fix t0 because overparameterization exists between t0 and Ai. You can also apply a constraint between parameters.

If you need 3 or 4 parameters Ai and ti, the fitting function can be defined as follows (4 parameters Ai and ti).

y=y0+A1*(1-exp(-(x-t0)/t1))+A2*(1-exp(-(x-t0)/t2))+A3*(1-exp(-(x-t0)/t3))+A4*(1-exp(-(x-t0)/t4));


Parameter Initialization can be defined,

t0 = min(x_data);
int sign;
t1 = get_exponent(x_data, y_data, &y0, &A1, &sign);
	
t1 = t2 = t3 = t4 = -1 / t1;
A1 = A2 = A3 = A4 = - sign * exp(A1 - t0/t1) / 4;
	
y0 = y0 - 4*A1;


Sam
OriginLab Technical Services

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