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
 Fit multiple functions to dataset

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
bababhai Posted - 04/28/2016 : 03:24:47 AM
Origin Ver.8 and Service Release (Select Help-->About Origin):
Operating System:windows



As shown in the image, I would like to fit one function to the data-set up to particular independent variable (x value), and also simultaneously fit other function to rest of the x values such that I get parameter values which will give reasonable fit for both function.

bubu
3   L A T E S T    R E P L I E S    (Newest First)
bababhai Posted - 05/11/2016 : 05:23:23 AM
Thank you AmandaLu for the help.
Hope this will work.

Thanxx :D

bubu
AmandaLu Posted - 05/10/2016 : 06:13:52 AM
Hi bubu,

To ensure the two functions are consecutive at the intersection point, you will need to take the coordinates of the intersection (x_1, y_1) as parameters. So the two functions are transformed as follow:

Y = A*X+(y_1-A*x_1)
Y = y_1-exp(A*x_1/B)+exp(A*X/B)

If you already know x_1 value, you can fix it during fitting.

BTW, we will make an APP of fitting with piecewise function.

Thanks,
Amanda
OriginLab Technical Service
AmandaLu Posted - 04/28/2016 : 04:38:55 AM
Hi bubu,

We have a tutorial of how to fit with Piecewise Functions:

http://www.originlab.com/doc/Tutorials/Fitting-Piecewise

Thanks,
Amanda
OriginLab Technical Service

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