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
 Non linear data 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
Ricardo Posted - 03/25/1999 : 3:02:00 PM
Is it possible to fit data with a non linear and very large formula? The formula is of the form:
y = {Abs [L/(2*pi*f*L*i + SUM(i*2*pi*f*b(j)/(i*2*pi*f+G(j)))]}^2
Were the "i" alone is the imaginary,
j=0 to 5, the b(j)'s are constants and G(j) are the parameters to be obtained from the adjust.
Since the Origin 5.0 does not accept imaginary, I expanded this formula. When we get the square modulus, we obtain a very large expression.
Does the Origin accept it?
Thanks,
Ricardo.
1   L A T E S T    R E P L I E S    (Newest First)
rtoomey Posted - 03/26/1999 : 3:18:00 PM


Response to Non linear data fitting


Ricardo,


Although there is a limit of around 250 characters in the Definition text box, Origin's nonlinear curve fitter can conceivably handle any length fitting function by placing the equation into a text file (*.txt or *.ogs) which is saved to your Origin directory. Here's an example of what I mean:


Example


If the fitting function is:


y = a + x * b; // Note: In this case, set the Form drop-down list to Equations.


It can be put directly into the Definition text box when defining the function. The alternative, which should be applied for large equations, is to enter a line such as this into the Definition text box when defining the function:


run.section(filename.txt, myfunc); // Note: In this case, set the Form drop-down list to Y-Script.


Then, when fitting is performed, it will execute the script contained in the section “myfunc” of the file called filename.txt. The section should contain the actual equation in the following manner:


[myfunc]
y = a + x * b;


I hope this information proves helpful to you.


Sincerely,
Ryan Toomey



[This message has been edited by rtoomey (edited 03-26-99).]

[This message has been edited by rtoomey (edited 03-26-99).]


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