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 in Fitting Function Please

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
ahamer Posted - 03/19/2014 : 06:19:02 AM
Origin Ver. 9.00 (32 bit) SR2 b87
Operating System: Win XP

Hello All,
Could you please help me, I want to use exponential fitting function to fit my Data, I found one built-in function but I want to make some changes in it. I tried but It does not work.
The function is : Exponential - ExpAssoc:
[[ Y=Y0 + A1(1-e^(-x/t1))+ A2(1-e^(-x/t2)) ]]
I want to change it to become like this:
[[ Y=Y0 + A1(1-e^(-x*t1))+ A2(1-e^(-x*t2)) ]]

could anyone help me with this, I also want it to start with initalization of parameters so the fitting will be fast.
Thanks in advance
Amer
2   L A T E S T    R E P L I E S    (Newest First)
ahamer Posted - 03/19/2014 : 1:01:24 PM
Thanks
It works :)
zahraa Posted - 03/19/2014 : 09:42:43 AM
Hi Amer,

To change up the built in function by replacing multiplying x in the last two columns instead of dividing, I went to Tools: Fitting Function Organizer. Here I expanded the Exponential category and located the ExpAssoc function. Then I right clicked on the function and selected Duplicate from the context menu. This will create a copy of the function called CopyofExpAssoc in the Exponential Category. Now you can edit the function in the right panel. Click on the little icon next to each box to make sure it compile. Then you can Save. When fitting your data simply use the new function. I am adding an image of your changed up function I used on some sample data.


If this does not work can you please explain how so? As in does the function not compile or does it not converge when you apply it to your data?

Thanks
Zahra

Originlab Technical Representative

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