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 a dataset with a combine of other 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
muller Posted - 04/10/2003 : 12:26:46 PM
Hello,
I have to search 3 parameters a, b and c to fit a function F(x).
F(x)= a*f(x)+b*g(x)+c*h(x).
F(x), f(x), g(x) and h(x) are a set of data. what i want to do is for every x, i have to found the same parameters a, b and c to minimize the quantity : F(x)-(a*f(x)+b*g(x)+c*h(x)).
I've tried to do it in several ways. But, I do somthing wrong.

I need some help.

thamks
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 04/14/2003 : 12:04:42 PM
Taking a simpler sample such that with given data:
Data1: A(X)=1,2,3 B(Y)=0,1,2
Data2: A(X)=1,2,3 B(Y)=1,1,1
Data3(to be fit): A(X)=1,2,3 B(Y)=2.1, 3.1, 4.1
Try:
1) Open NLSF
2) Create a new user-defined function: y=P1*data1_b(x)+P2*data2_b(x); here P1 and P2 are parameters.
3) Fit Data3 as usual.
Note that if the x range of Data3 is out of Data1 or Data2, liner extrapolation will be done.

Does it make sense?

--Hideo



Edited by - Hideo Fujii on 04/14/2003 12:07:27 PM

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