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
 Fitting Multiple Datasets

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
sina1366 Posted - 04/27/2014 : 10:19:48 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi
I have 8 functions, 8 dependent variables (y1,y2,...,y8), 2 independent variables (x1,x2) and 7 parameters (common in all functions). I want to fit 8 curves simultaneously with 8 functions. However, y1 to y4 are dependent on x1 and y5 to y8 are dependent on x2 (0<x1<0.3 and 0<x2<0.4). As simple example:
y1 = A+B*x1
y2 = A+B*x1
.
.
.
y5 = A+B*x2
y6 = A+B*x2
...
Is that possible to assign x1 to y1-y4 and x2 to y5-y8 and fit the curves? I have tried Function Form "Equations" but I couldn't get my target results!

ss
3   L A T E S T    R E P L I E S    (Newest First)
SeanMao Posted - 04/30/2014 : 12:45:57 AM
Hi sina1366,

I sent you an email to answer your problem based on your last post along with two attached files. To fit multiple functions with multiple variables with shared parameters, Nonlinear Multiple Variables Fitting in Non-Linear Fit (NLFit) tool will be able to serve the purpose. You have to define your own multiple fitting function before you can use the tool. Below is a tutorial of how to perform the fitting:

http://www.originlab.com/doc/Tutorials/Fitting-NLFit-MultiVar

Thanks!

Sean

OriginLab Tech Service
sina1366 Posted - 04/29/2014 : 08:52:12 AM
Dear Sean
Thank you very much...it was a great help to me, but I have another problem here. I have 8 different functions (not one constant function), for example:
y1 = A+B*x1+C*x1^2+...
y2 = A+B*x1^n+...
...
How can I assign function No. 1 to (x1,y1), function No. 2 to (x1,y2) and ...?
I found that if many functions are defined in global fit (y1, y2, ...), the number of plots will increase (since y1,y2,y3,... are plotted as a function of both x1 and x2)
Thanks again for your big favor...

ss
SeanMao Posted - 04/28/2014 : 05:33:15 AM
Hi sina1366,

The Global fit function in non-linear fit (NLFit) tool in Origin will be able to help you solve the problem.

If you follow the tutorial below and set A, B as the shared parameters, you can simultaneously fit all 8 curves with different X ranges.

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

Sean

Originlab Technical Service

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