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
 Curve fitting

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
nzb109 Posted - 12/30/2008 : 10:43:46 PM
Origin Ver. and SR (Select Help-->About Origin):
Operating System:xp
Hello
I want to fit my data , using two functions as below:-
a)I know a series of (x,y) pairs for each point on x-axis
b)The second function is an polynomial function of unknown degree and coefficients.
Can i fit my data as a sum of the known (a) and unknown function(b)
Regards and Thanks
nzb


1   L A T E S T    R E P L I E S    (Newest First)
scunque Posted - 01/13/2009 : 1:14:51 PM
If you have plotted data, you can use that data as if it were a function. Origin does not have an 'unknown degree' polynomial function so you must use one with specific degree like Poly4 or Poly5 or the ninth degree equivalent Poly which internally is called PolyN.

So create a function with Parameter Names
a0,a1,a2,a3,a4,a5,a6,a7,a8,a9

defined as
y = book1_B(x) + polyn(x,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9);
(Replace book1_b with your dataplot)

and using the parameter initialization copied from Poly.
You must use Y-Script as the Function Form.

Note that Poly requires at least 9 datapoints and you will need at least 11 points to get any degrees of freedom (i.e. error calculations)
Also Polynomial is usually a poor choice for fitting and this function will be swamped by the plotted data part. The plotted data should represent your ideal curve.

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