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 function in a loop

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
jamieno10 Posted - 03/31/2009 : 3:22:10 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8
Operating System: Windows XP

Hi,

I'm new to origin and would appreciate any help.

I would like to fit my data using a custom function 100 times, each time with a random parameter vector. Is this possible in Origin?

Thanks!
2   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 04/01/2009 : 12:59:21 PM
Have you already defined your function, and fit one set of data with it? You could reuse the workbook, with the three sheets: source data sheet, FitNL report sheet, FitNLCurve sheet. The analysis has been saved in the workbook and you can set the Recalculate mode to Auto.

Click the link below, to learn how to set up a workbook for repetitive analysis:
http://www.originlab.com/index.aspx?s=9&lm=72&pid=1171

OriginLab Technical Support
Shirley_GZ Posted - 03/31/2009 : 11:42:50 PM
Hi Jamieno,

Do you want to test the stability of your function using random parameter values, without the initialization parameters by default?

After SR4, Origin offer some X-functions to do nonliear curve fitting, such as nlbegin, nlfit and nlend. You can write a loop using LabTalk scripts, please see some examples in this page:
http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Curve_Fitting#Nonlinear_Fit

Any problem from you is welcome.
Shirley

Originlab Technical Service Team

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