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
 global fit of multiple data sets and functions

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
gdroogmans Posted - 03/18/2004 : 05:06:19 AM
I am trying without success to fit several data sets with two different functions, i.e. some data with the first function, others with the second function.
Does anyone know a solution for this problem?
2   L A T E S T    R E P L I E S    (Newest First)
gdroogmans Posted - 03/18/2004 : 11:35:17 AM
Thanks for your fast and ingenious reply
Mike Buess Posted - 03/18/2004 : 08:36:44 AM
This is how I would go about it using the NLSF fitter...

1. Function->Edit or New: combine the functions as follows

y = A * func1(x) + (1-A) * func2(x)

2. Action->Dataset: check Fit Multiple datasets at the bottom and Add each dataset to the fitting session.

3. Action->Fit: fix A to 0 or 1 for each dataset and otherwise make sure all parameters are sensibly initialized. Then click one of the iterate buttons.

...Besides fixing A to 0 or 1 you may also need to fix the parameters for the function that is not used to some reasonable values.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 03/18/2004 08:56:47 AM

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