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
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?